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

VBA load project in V8i

Hi everybody ,I'm programming in VBA with version v8i of microstation. I have done different macros in VBA and every time that I close the Microstation I have to load again the VBA macro if I want to...

View Article


RE: Run files when closing [V8i SS3, SS4]

In MicroStation V8i and earlier you can run (though UCMs are limited) MS_EXIT.  We would suggest if in MicroStation V8 or later to consider using MicroStation VBA and OnProjectLoad method to set events...

View Article


Run files when closing [V8i SS3, SS4]

Is there a way to have μstation run a ".ucm" file just like on startup or when opening a drawing?

View Article

RE: [CONNECT][C++] is there a mdlWindow_updateAllWindows for a single...

[quote user="Loren"]How do I force my dialog to redraw[/quote]The mdlDialog_hookDialogSendUserMsg() may provide the means to do what you want.  Write a case DIALOG_MESSAGE_USER: in your dialog hook...

View Article

RE: [CONNECT][C++] is there a mdlWindow_updateAllWindows for a single...

Works Perfect - Thanks Jon! I guess the send user message function also triggers a dialog redraw.

View Article


RE: [CONNECT][C++] is there a mdlWindow_updateAllWindows for a single...

[quote user="Loren"]I guess the send user message function also triggers a dialog redraw[/quote]That function does nothing other than to send the message to your dialog hook function.  It's up to you...

View Article

RE: [CONNECT][C++] is there a mdlWindow_updateAllWindows for a single...

RE: It's up to you to put some code in the DIALOG_MESSAGE_USER case that does whatever you want Yes, I called mdlWindow_rgbDataDraw() within the DIALOG_MESSAGE_USER case and my image displays fine....

View Article

[CONNECT][C++] is there a mdlWindow_updateAllWindows for a single window/dialog?

I am drawing to a dialog (when DIALOG_MESSAGE_UPDATE sent) using mdlWindow_rgbDataDraw();. The initial image displays fine but when I change the image (mdlWindow_rgbDataDraw is called with new image...

View Article


RE: [v8i MDL C++] MDL works in Debugging-mode, but crashes outside of...

Try building a release version of your app..  Use the bmake -a switch to clean up the intermediate object files and ensure that none remains that contains debug code.

View Article


RE: [v8i MDL C++] MDL works in Debugging-mode, but crashes outside of...

Hi Jon,before new building of the MDL with 'bmake -a' I deleted all created files that belong to that MDL in \mdlapps and as well in the Folders \mdl\objects, \mdl\reqdobjs and \mdl\rscobj.When I first...

View Article

RE: Calling mdlCompGeom_convexHull2d fro an AddIn

Hi, an advice first: Please use Syntaxhighlighter tool (yellow pencil icon) when posting any code. You colorized version is better than a plain text, but using the mentioned tool it can be even better....

View Article

RE: Calling mdlCompGeom_convexHull2d fro an AddIn

[quote user="Jan Slegr"] I'd like to ask where the function mdlCompGeom_convexHull2d comes from?[/quote]Mea culpa!  This article about convex hull generation includes two ways to compute a convex hull....

View Article

RE: MVBA causing Microstation to lock up?

I think I had seen somewhere that it was due to a Microsoft Office update.

View Article


RE: [v8i MDL C++] MDL works in Debugging-mode, but crashes outside of...

[quote user="Ines Wieland"]Der Befehl "singleton" ist entweder falsch geschrieben[/quote]Try this in your bmake file...DLM_NO_SIGN = 1 # If not set and no certificate found, ERROR: 'singleton' is not...

View Article

RE: MVBA causing Microstation to lock up?

Hello, it's been brought to my attention that Active Angle Assistant is causing AECOsim Building Designer to hang on Windows 10.  The macro was written by a user in 2005 and distributed on AskInga as...

View Article


MVBA causing Microstation to lock up?

I have and regularly use the ActiveAngleAssistant.mvba with V8i and up until today it has worked fine. Now for some unknown reason I can not even load the mvba without it locking up MicroStation. The...

View Article

RE: Calling mdlCompGeom_convexHull2d fro an AddIn

Ha! It makes sense now :-)In general I am against using not documented (and as such not supported functions). And when seeing the function declaration:Public int mdlCompGeom_convexHull2d ( Dpoint3d...

View Article


Calling mdlCompGeom_convexHull2d fro an AddIn

I have Microstation 8.11.09,.829 and Visual Studio 2015.I am trying to call mdlCompGeom_convexHull2d from and AddIn but have had no luck,I do not know what dll to reference with the dllImport statement...

View Article

[V8i VBA] Multiple Sheet Models (looking to refine existing tag reading macro)

AfternoonSo my excel-based VBA for reading titleblock tag values is working as intended but I've encountered a slight issue which I'm looking for strategies on how best to resolve. Simply put, if the...

View Article

RE: MicroStation Basic Macro Debugger

Hi Karl, it's not easy to say what is wrong, because the error message does not tell anything more the debugger crashes. I guess the first step can be to try to repair MicroStation installation. You...

View Article
Browsing all 7260 articles
Browse latest View live


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