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

[CONNECT C++] Formatting using ECN::IECInstance

I have a text field populated with the API's default formatting.  It's an area measurement and looks something like Area: 134.3201 Sq. m, where Area: is user-supplied text and 134.3201 Sq. m is a text...

View Article


RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

dominic, Not certain I understand the question. Fields are defined as dependency linkages. When the root element (the element to which the pointed-to property value belongs) is modified, the dependent...

View Article


RE: [CONNECT C++] Formatting using ECN::IECInstance

Can I tell the formatter to apply an additional scale factor?  For example, DGN model master units are feet and I want to display areas as Acres.

View Article

RE: [CONNECT C++] Formatting using ECN::IECInstance

Any formatting that can be applied via the Fields Editor dialog can also be applied programatically. For example, see the Units property of MstnPropertyFormatter:AreaClass. It's an enum for which the...

View Article

RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

Paul, Let's say John writes an app that reports the area of a shape as mentioned above. But the shape has an associative dimension or constraint. Does the Dependency Manager update the attached...

View Article


RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

The order of updates to a single element is indeterminate and should also be irrelevant. Propagation will abort after max recursion exceeded, which usually implies an infinite loop. Errors are reported...

View Article

RE: [CONNECT C++] Formatting using ECN::IECInstance

[quote user="Paul Connelly"] See the Units property of MstnPropertyFormatter:AreaClass. It's an enum for which the integer -3 corresponds to "Acres".[/quote]That's good for Acres, but what if user...

View Article

RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

[quote user="Paul Connelly"]The order of updates to a single element is indeterminate and should also be irrelevant.[/quote]How can you be really sure? Say the shape is generated by Bentley's...

View Article


RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

>> Say the shape is generated by Bentley's GenerativeComponents, and has one of its vertices dimensioned using Mstn's associative dimension tool.... and John's area reporting tool. The dimension...

View Article


RE: [CONNECT C++] Correlating an Element with its DgnElementSchema class name

Have you tried this and seen what happens?

View Article

RE: Run Microstation macro from Excel

.What was your original motivation to collect all the text  from several drawings?Was it so you could identify a specific piece of text  and locate which dgn file has this text?If so we have now in V8i...

View Article

RE: Need Help on Microstation VBA to change text view from TOP view to...

[quote user="shridatta kulkarni"]Hi Microstation Users,I am trying to write a VBA Macro which helps us to get the data from excel sheet and place it in title block of microstation drawing and the macro...

View Article

RE: [Connect update 4] Problem with TextNode Rotation

Hi Nenad,with all respect:Follow best practices, at least in post subject. It should be something like "[CE VBA] Problem with TextNode rotation".There is no question in your text, so taken precisely,...

View Article


Image may be NSFW.
Clik here to view.

RE: [Connect update 4] Problem with TextNode Rotation

Please follow the MicroStation Programming forum best practices.Code Syntax HighlightingWhen you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that resembles a...

View Article

RE: [Connect update 4] Problem with TextNode Rotation

Hi Jon,Thanks for replay. How do I attach dgn file?Code is written in VBA.If I try this code I get one error: Dim oNode As Element Set oNode = ActiveModelReference.GetElementByID64(3656) Dim o_mat As...

View Article


RE: [Connect update 4] Problem with TextNode Rotation

Hi,Here is attached dgn fileNenad(Please visit the site to view this file)

View Article

RE: [Connect update 4] Problem with TextNode Rotation

[quote user="Nenad Poljcic"]Here is attached dgn file[/quote]Your text node is view independent.  It has no rotation, and is always displayed in the plane of the view.  Most elements don't give the...

View Article


RE: [Connect update 4] Problem with TextNode Rotation

Hi Jon,Thanks!best regardsNenad

View Article

Image may be NSFW.
Clik here to view.

[Connect update 4] Problem with TextNode Rotation

Hi,I tried simple VBA code and I get error while trying to read TextNode Rotationbest regardsNenad

View Article

Image may be NSFW.
Clik here to view.

RE: [V8i vba] how to tell if your cursor is to the left or right of a point...

[quote user="John Drsek"]How to tell if your cursor is to the left or right of a point?[/quote]I've written a VBA project that shows how to do that...The macro works in dynamics.  Start by identifying...

View Article
Browsing all 7260 articles
Browse latest View live


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