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

Re: mdlTransients_* - interfering with fit view

Create the transient using mdlTransient_addElemDescrExt and specify TRANSIENT_FLAG_DONTINCLUDEINFIT.-B

View Article


Need help with OLD UCM variables in a Basic Macro--V8i-SS2 80.11.07.492

I have an old UCM I've modified to run as a Basic file and many others as a single command. The file completely draws the Plan & Elevation of bridges using LVC, grades, PVI sta, PVI elev, length of...

View Article


Image may be NSFW.
Clik here to view.

Re: Need help with OLD UCM variables in a Basic Macro--V8i-SS2 80.11.07.492

jmele: I'm new at VBA so I'm not sure how to get the input from each of the fields to store in the variablesSuppose your VBA UserForm has a text box named txtData1.  You can add a Property to the...

View Article

Re: Running a VBA from a autorunning VBA?

Hi,In my startup routine, I have:If HasActiveDesignFile Then  'Do EverythingEnd IfI can not replicate your issue by adding the Levelmanager keyin to my routine.  What would happen if you add a DoEvents...

View Article

Re: Need help with OLD UCM variables in a Basic Macro--V8i-SS2 80.11.07.492

Hi,Please clarify what you mean by BASIC.  Are you using Microstation BASIC for anything, or is everything in VBA?   For VBA the command is "vba run xxxx".    Personally, if you are doing upgrades...

View Article


Dynamic Display of Elements

Dear Freinds,I am working on mdl using c programming on V8.05 (V8) and V8.11 (V8i).For dynamic display elements mdlElmdscr_display (V8) is used. But it is deprecated in V8i.So, i am using...

View Article

detect if level exist and create it (vba 8.05)

my little contributionDim Mylevel As LevelDim Olevel As LevelDim StatusLevel As BooleanDim NameLvl As StringNameLvl = "Materiel AEP existant" StatusLevel = FalseFor Each Mylevel In...

View Article

Image may be NSFW.
Clik here to view.

Re: Dynamic Display of Elements

Hi,Msreekanta:I need this mdl for both versions (V8 & V8i). As far as I know no binary compatibility for MDL applications is guaranteed between 8.5 and 8.11, as least I have never expected what is...

View Article


Image may be NSFW.
Clik here to view.

Re: Dynamic Display of Elements

Msreekanta:For dynamic display elements mdlElmdscr_display (V8) is used. But it is deprecated in V8iThat depends on what you mean by dynamic. In the context of MDL and MicroStation's state engine,...

View Article


Image may be NSFW.
Clik here to view.

Re: detect if level exist and create it (vba 8.05)

Okette2:If Mylevel.Name = NameLvlBetter use VB: Strcomp for text compareOkette2: ActiveSettings.Level = ActiveDesignFile.Levels(NameLvl)You have to create the level within the levels object before...

View Article

Re: Running a VBA from a autorunning VBA?

Thanks for the suggestions Robert, tried them but still no joy, may be there is another way of autostarting the commands so that the level manager displays correctly, I'll do some tests in V8i to see...

View Article

Re: Running a VBA from a autorunning VBA?

My problem is definitely a V7 workmode problem, running the VBA in V8i it works without error, level manager displays and my tacked on prog works even when opening a V7 file and keeping in read only...

View Article

mke error (toolsubs.dlo)

Dear All,While converting v8 mdl code to v8i mdl code I encounter this error as shown in the attached screenshot. As per documentation I have created the environ.variableMLINK_STDLIB:C:\Program...

View Article


Re: [V8i MDL] How to trigger line length parameter

If you create the text, than you are responsible for the wrapping. That the 'change attributes' does the work that you should have done is a plus, not the way ;--) (think triggered by the possible...

View Article

Re: [V8i C++] Tool Cleanup and Unloading

It's not clear what CmdItemListRsc has to do with unloading of an app.You deal here with 2 things loading + unloading of an mdl app and starting + cleanup of a command.Restarting a command should not...

View Article


Re: Dynamic Display of Elements

Thanks for reply.ButPrivate void fun_DynmicDisplay(Dpoint3d *ptP,int   view,int   drawMode)TransDescrP  myTransient = NULL;myTransient =  (TransDescrP) mdlTransient_addElemDescr ( NULL, msedNewElmP,...

View Article

Get Element Area Between the 3 Points ( Microstation V8 Using MDL Language)

Dear Guys,In Attached Image You can See the LineString Feature with 3 points on it.Green indicates Start Point.Orange indicates Mid Point.Red Indicates End Point.1) I just want the area between the...

View Article


Re: Dynamic Display of Elements

That doesn't make senseif you only need this for dynamics you still might use the mdlElmdscr_display (as Jon said). it's suggested to call this only inside TEMPDRAW modeif (TEMPDRAW==drawMode) {}if you...

View Article

Re: Get Element Area Between the 3 Points ( Microstation V8 Using MDL Language)

Find the solution sorry for disturbing u guys.Thank You.

View Article

mdlView_updateSingle returning MDLERR_USERABORT (-144)

Can someone tell me why mdlView_updateSingle is returning MDLERR_USERABORT (-144)? That is even if the update takes place OK.

View Article
Browsing all 1677 articles
Browse latest View live