Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Browsing all 1677 articles
Browse latest View live

[V8i] Strange error message from BMAKE process that *was* working

I'm experiencing a BMAKE error all of a sudden. Things were fine, then one time when I went to run BMAKE I got (and continue to get): Bentley.Make.ArgumentException : ~task arguments must begin with...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i] Strange error message from BMAKE process that *was* working

Bruce Reeves SRNS:Objs = \  $(o)$(appName).mo \Rscs = \  $(o)$(appName)Cmd.rsc \In makefile syntax, the backslash is a continuation character.  In both the above statements, bmake is looking for...

View Article


Turn Levels On / Off in Nested References

Hithere,I am trying to create a macro that helps me filter out levels required for nestedreferences.WhenI use the keyins:Reference levels off.I am prompted for what levels.I provide the level (level1)I...

View Article

MFC modeless dialog show tooltips in Native Code Project

.hello,        I have a question on MFC message transfer to mstn project. Thank you for your listening and helping in advance.        I write a MFC modeless dialog dll, I want to call it in a mstn...

View Article

Re: [2004 MDL] edge match

MSElementDescr *mainE1 = NULL;mdlElmdscr_readToMaster (&mainE1, filePos, MASTERFILE, FALSE, NULL);mdlElmdscr_extractEndPoints (startpoint,NULL,endpoint,NULL,mainE1,modelRef); points1.x=...

View Article


Re: [V8i] Strange error message from BMAKE process that *was* working

think the error says it all, you are using a path with spaces and bmake interprets this as 2 parameter. It mourns about a missing - sign before the i. This come from the word Issues in your path...

View Article

Image may be NSFW.
Clik here to view.

Re: [2004 MDL] edge match

sagar: points1.x = startpoint [0].x; points1.y = startpoint [0].y;points1.z = startpoint [0].z; You don't need to assign individual members of a struct when you want to copy the entire struct …points1...

View Article

Re: MFC modeless dialog show tooltips in Native Code Project

Julia,first you have to derive your class from CBFramedModelessDialog. This will install a so called secondary hook that enables MicroStation to send the needed messages to your dialog.in a second step...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i] Strange error message from BMAKE process that *was* working

Michael Stark:You are using a path with spaces...Good catch!Bruce — you don't need to do anything with your Windows folder names or paths.  Rather, use DOS path names instead of Windows long path names...

View Article


Image may be NSFW.
Clik here to view.

Re: Turn Levels On / Off in Nested References

thegman:set levels on/off "level name";selview 1 reference levels on/off "level name" *.*;selview 1Try these …set levels on "level name";selview 1reference levels on "level name" *.*;selview 1andset...

View Article

Re: [2004 MDL] edge match

In your code, you are comparing the start and end point of a same line. But to find out un-joined lines, you need to compare the start point of one line with the start and end point of other lines. If...

View Article

[V8i SS2 VBA] Caption Issue

Hi Folks,I am having trouble with a modified caption changing when I choose File > Copy from the MicroStation menu?I am also encountering issues with the modified caption reverting to a default when...

View Article

Re: MFC modeless dialog show tooltips in Native Code Project

Michael, thank you for your quik response. I establish a test project on your code's help. Yes, it can call the PreTranslateMessage function quite well. Thank you so much. Next time I will try your...

View Article


Re: MFC modeless dialog show tooltips in Native Code Project

Glad you're succeeding.Be carefull when dealing with the CBModelessDialog, it is even the parent of most of  the other CB... things (see cbmodelessdialog.h for a list of it's childs). Implementing it's...

View Article

Re: [V8i] Strange error message from BMAKE process that *was* working

FWIW.  In addition to Jon's comment to use dir/x to find a short name of a single file or directory at a time, I use the following in a DOS batch file to "mangle" any file name or path provided, else...

View Article


[V8i,MDL]How to hook the change of Graphic Group Lock?

Hi experts,My question is as my post's title. I want to do some other settings when user  turn on or off the system's Graphic Group Lock.TIA, Xue

View Article

Re: [V8i,MDL]How to hook the change of Graphic Group Lock?

mdlSystem_setFunction (SYSTEM_LOCK_CHANGED, lockChangedHook);Private void lockChangedHook (LockChanged_Events event)    {    if (LOCKCHANGED_GraphicGroup == event)        // Do something...    } 

View Article


Remove Elements from Selection

I am trying to create a selection of the specified region and then remove any text from the selection that has"MATCH LINE" in its contents. Then I want to change the selectedelements class to...

View Article

Re: [V8i SS2 VBA] Caption Issue

I am finding management of the caption difficult to maintain consistently.One of our testers found this morning that when trying a few drawing commands like; move, copy and scale, that the modified...

View Article

Re: Remove Elements from Selection

Hi Reu,I think there are two problems in your code:1. Selection method should be set to "Block" before you use SendDragPoints to select elements;2. After change element's class, calling Element.Rewrite...

View Article
Browsing all 1677 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>