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

[ C++ / MDL ] STL IO streams & USTN Console

Hello,when I work in C++ I am used to output to console using std::cout, but in MDL this does not work for me and I have to use printf toolsubs redefinition to open console and put some message in...

View Article


[V8i VBA] Moving a reference

Hello,Wonder if anyone can help.' Move all references, interate through each For Each myRef In ActiveModelReference.Attachments' Actually Move the reference...

View Article


bug in mdlString_parseIntoArgcArgv

If user pastes into KeyIn dialog string which ends by \r\n (from e-mail etc.), function mdlString_parseIntoArgcArgv does not correctly parse arguments.Dan

View Article

[V8i C++] Is it possible to CREATE a nested cell "on the fly" ?

I'd like to read some cells from a cell library, and consolidate them into a single nested cell that gets placed into the model. How would that be done ? Just read cells 2..n into the modelref of the...

View Article

Re: [V8i C++] Is it possible to CREATE a nested cell "on the fly" ?

You can create complex elements on the fly. Create a cell header elementConvert that to an element descriptorAppend other descriptors to that chainAdd it to your DGN model

View Article


Image may be NSFW.
Clik here to view.

Re: [2004 MDL] Unload Function

sagar: Isn't this CMD_MDL_UNLOAD defined command?Any programmer needs a text editor that includes file search capabilities: a Programmer's Text Editor.  Particularly when developing MDL, C or C++ it's...

View Article

Unable to query if Speedikon Architecture for Microstation is loaded ...

I know that Speedikon has got a seperate area in this Community but I think that this topic is better placed in the Microstation world ...Some months ago I have created a VBA-program that is triggered...

View Article

Re: Unable to query if Speedikon Architecture for Microstation is loaded ...

Well ... half an hour later I have found a way ...Implements IEnterIdleEventPublic Sub hooks_OnDesignFileOpened(ByVal FileName As String)   Call show_InfoPopUp.ProjectLoadCall...

View Article


Image may be NSFW.
Clik here to view.

Re: mke error (toolsubs.dlo)

dsm: Function which shows as "Unresolved symbol" belongs to own library "lmlib.h"In which case you must have a library file 'lmlib.lib' or whatever.  You have a linker error.  You must tell the linker...

View Article


Image may be NSFW.
Clik here to view.

Re: Best Way to Delete Duplicate Elements(Specified Level Element)...

Daniel Christopher:Best Way to Delete Duplicate ElementsDefine what you mean by 'duplicate element'.Before writing any code, read about Design File Cleanup in MicroStation help.

View Article

Re: mke error (toolsubs.dlo)

Hai Jon,Thanks for your reply. Could you please tell me how to tell the linker to find my library how and where?

View Article

Re: Best Way to Delete Duplicate Elements(Specified Level Element)...

Use scan criteria with range test, level test and create a filter function to handle identical state.Consider using of functions mdlElmdscr_areTwoIdentical and mdlElmdscr_areIdenticalToTolerance in...

View Article

Image may be NSFW.
Clik here to view.

Re: Best Way to Delete Duplicate Elements(Specified Level Element)...

Jon Summers:Daniel Christopher:Best Way to Delete Duplicate ElementsDefine what you mean by 'duplicate element'.Before writing any code, read about Design File Cleanup in MicroStation help.1) Duplicate...

View Article


Image may be NSFW.
Clik here to view.

Re: [V8i VBA] Moving a reference

MercerJon:The above code works perfectly when the referenced model hasn't movedI don't understand that statement.  If nothing moved, what worked perfectly?Master and Reference OriginThose are read-only...

View Article

Image may be NSFW.
Clik here to view.

Re: Best Way to Delete Duplicate Elements(Specified Level Element)...

Daniel Christopher:Can u delete the duplicate features (In the Specified Level) with another Level features Using Design File Cleanup ?Post that question to the general MicroStation Forum.

View Article


Image may be NSFW.
Clik here to view.

Re: mke error (toolsubs.dlo)

dsm:Could you please tell me how to tell the linker to find my library how and where?The simplest approach would be to read and duplicate the bmake file for the version that worked.

View Article

Re: [V8i VBA] Moving a reference

Thanks for explaining. I was trying to avoid recreating the attachment but so be it.Thanks again.

View Article


Re: mke error (toolsubs.dlo)

Hai Jon,I did the same thing only with failure. I am sending mke file for your reference.#---------------------------------------------#  Define constants specific to this...

View Article

Image may be NSFW.
Clik here to view.

Re: mke error (toolsubs.dlo)

dsm:In mke there is no change from the previous version Either the previous version didn't build or there's some other problem.There are two references to lmlib in the makefile you posted …...

View Article

Re: mke error (toolsubs.dlo)

lmlib.mo file in object directory ie., created in path of mypath var 9d:/work/jk)mdllib.dlo in C:\Program Files\Bentley\MicroStation V8i (SELECTseries 1)\MicroStation\mdl\library

View Article
Browsing all 1677 articles
Browse latest View live


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