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

RE: [CONNECT] Visual Studio Versions

Hi Jon,[quote user="Jon Summers"]Should we be using Viz Studio 2015 for native code?[/quote]From Bob's announcement: MicroStation CONNECT Edition MDL applications compiled with previous version of the...

View Article


[CONNECT] Visual Studio Versions

MicroStation CONNECT Update 3 installs the Microsoft C++ runtime 2015 redistributable.As far as I know, we should be using Viz Studio 2013 for CONNECT C++ development.  Or am I mistaken?  Should we be...

View Article


Image may be NSFW.
Clik here to view.

RE: Catch and abort exit of Microstation

Please follow the MicroStation Programming forum best practices.Identify Your PlatformPlease identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation...

View Article

Catch and abort exit of Microstation

I have an mdl application where a user enters data in forms and on the drawing.  I am trying to find a way to catch the event when a person exits from Microstation using the X and prompt the user to...

View Article

RE: Catch and abort exit of Microstation

Hi William,I have no experience with such request, so my idea can be wrong completely: You can try to monitor input queue to check if X button generates any request sent to the queue (I guess it...

View Article


RE: Catch and abort exit of Microstation

[quote user="William Wilson"]I am trying to find a way to catch the event when a person exits from Microstation using the X[/quote]I think you may have to monitor Windows messages.  For...

View Article

RE: [XM VBA] Accessing Dimension Note in VBA

Sorry to refresh such old topic, but i cant find the answer anywhere and this is the only trace there is. Thing about notes they are treated as dimensions - and there is no method within...

View Article

RE: [XM VBA] Accessing Dimension Note in VBA

[quote user="Michal Kurzewski"]Thing about notes they are treated as dimensions[/quote]I see that you're using a rather old version of MicroStation (XM).  Perhaps Notes were different then?If you...

View Article


Image may be NSFW.
Clik here to view.

RE: [XM VBA] Accessing Dimension Note in VBA

Hi Jon - thanks for quick reply. Actually i am using SS2, but the only mention of dealing with notes I found in this post. I dont think it changed at all because i got a very similar screenshot as you...

View Article


Image may be NSFW.
Clik here to view.

RE: [XM VBA] Accessing Dimension Note in VBA

Post Code: Easier than an Explanation[quote user="Michal Kurzewski"]I got If  for .IsCellElement before .IsDimensionElement[/quote]It's hard to explain code in a human language, but it's easy to read...

View Article

RE: [XM VBA] Accessing Dimension Note in VBA

If oElm.IsCellElement Then 'debugging shows its not cell element ElseIf oElm.IsDimensionElement Then Set enuDimElm = oElm.AsDimensionElement...... '(here would be some get method but there is none to...

View Article

Image may be NSFW.
Clik here to view.

RE: [XM VBA] Accessing Dimension Note in VBA

This works for me...Public Sub Main() Dim id As DLong id = DLongFromLong(392159) ' Replace with ID of your note cell Dim oNote As CellElement Set oNote = ActiveModelReference.GetElementByID(id)...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT DgnPlatformAPI] .NET FrameWork upgrade error

I opened one of the example .NET solutions delivered with the SDK (for Update 3) using Viz Studio 2013.  The IDE works fine, and can build the project except for errors about the .NET Framework...

View Article


RE: [XM VBA] Accessing Dimension Note in VBA

That would work fine, if not that there are alot of notes in the model and its also meant for batch - so there would be more - manual ID readouts are really not an option. how to get ID of each note? i...

View Article

Image may be NSFW.
Clik here to view.

RE: [XM VBA] Accessing Dimension Note in VBA

[quote user="Michal Kurzewski"]How to get ID of each note?[/quote]It's a common idiom when demonstrating a feature of VBA to provide an element ID.  In real code you would not do that.[quote...

View Article


RE: [XM VBA] Accessing Dimension Note in VBA

Ok - you got me there. I have put my question incorrectly. how to get ID of Cell within Note then (with VBA and not manually)? ElementScanCriteria is not an option as it would just return notes or...

View Article

RE: [XM VBA] Accessing Dimension Note in VBA

[quote user="Michal Kurzewski"] ElementScanCriteria is not an option[/quote]How else are you going to examine every element in your DGN model?[quote user="Michal Kurzewski"]Its the enumeration elements...

View Article


[XM VBA] Accessing Dimension Note in VBA

I'm looking for someone who has had any success in accessing a "NOTE" in VBA. When selecting a note with  a leader in the MicroStation GUI, it shows in the information window as a Dimension and a Note....

View Article

[V8i C#] Disabling Annotation Scale on Text Elements

There was a thread a few years back about how to toggle the annotation scale setting off on text elements...

View Article

How to download Microstation SDK for Microstation V8i(SS3)?

Dear all,I am installed microstation V8i(ss3) i need SDK for developement i dont know how to get it any one give me the link for download it.Thanks & Regards,Karthik M

View Article
Browsing all 7260 articles
Browse latest View live