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

RE: Read EC attributes from AutoPLANT file

Hello Dazhi, I don't think the EC attribute is on the NamedGroup element. It should be on a specific graphic element.

View Article


Read EC attributes from AutoPLANT file

Hi,I'm attempting to extract EC-attributes from an AutoPLANT i-model. The sample model i'm using can be downloaded from this...

View Article


RE: vs2013 mdl 生成失败

Hi If I understood you correctly, the VS 2013 Tools for MicroStation CONNECT Edition is working. If so, I am glad to hear that is working for you. What did you do to get it working? Did you update the...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++] Question about FontMaps

I'm dumping out a list of Font Names and Numbers in the DgnFile:extern "C" DLLEXPORT void ListAllFonts(WCharCP unparsed) { DgnFontNumMapP fontNumMap = DgnFontManager::GetDgnFontMapP(ACTIVEMODEL); //...

View Article

[VBA - V8i] How to access the text portion of a dimension?

I'm tweaking an old macro of mine that toggles text background on and off for selected elements. It works for text and text nodes; I want it to work for dimensions (and notes) and text in cells.The...

View Article


Setting SWA size with MVBA

I am looking for MVBA objects/properties/methods that I can use to change the size of the Solids Working Area.  I can change everything pertaining to working units with an MVBA macro except for the SWA...

View Article

RE: Linking Microstation Elements to a Database Records

Thank you, this article helped me understand MSCATALOG and MSLINK.Before my above error message, which I only assume now that I didn't follow the steps to the letter in chapter 27 of the book (I`m...

View Article

RE: Linking Microstation Elements to a Database Records

[quote user="Toby77"]My question is how do I select and element and assign a different (unique) MSLINK to it, without having to change the code each time? [/quote]Have you succeeded in connecting your...

View Article


RE: Linking Microstation Elements to a Database Records

Yes I have been able to connect my app. to my (access) database, what you are saying above makes sense, I guess I just need to read up on how I achieve the outcome. I`m very new to learning how to code...

View Article


RE: Linking Microstation Elements to a Database Records

[quote user="Toby77"]I just need to read up on how I achieve the outcome[/quote]First, learn about Microsoft ADOCreate a test DB that you can discard if you mess things upUse Excel as a VBA programming...

View Article

Linking Microstation Elements to a Database Records

I`m trying to follow the book Learning MS VBA, I`m currently up to page 564,Linking Microstation Elements to Database Records.I`m not sure if the book is missing somethingi.e. certain steps to be...

View Article

RE: [VBA - V8i] How to access the text portion of a dimension?

Hi MaryB, you can use ActualValue property. But be aware it's "the real value", not what is displayed. In other words: The dimension can be displayed as 10.25, but the real value will be 10.248339842....

View Article

RE: [VBA - V8i] How to access the text portion of a dimension?

Is that just the value of the piece of text, or is it the actual text piece so that I can change the format? Thank you.

View Article


Image may be NSFW.
Clik here to view.

RE: [VBA - V8i] How to access the text portion of a dimension?

Hi,[quote user="MaryB"]Is that just the value of the piece of text, or is it the actual text piece so that I can change the format?[/quote]What about to consult MicroStation VBA help file? It contains...

View Article

RE: [VBA - V8i] How to access the text portion of a dimension?

What I want to do is to turn on the text background. Similar to the idea if I wanted to change the font of the dimension text. I don't want to change the value of the dimension, nor do I want to change...

View Article


RE: [VBA - V8i] How to access the text portion of a dimension?

Mary,From your description I think you need to be modifying the TextStyle defined in the DimensionStyle to change the text background. The function below demonstrates how to update the text of a...

View Article

RE: CONNECT crashes when I use ifstream

Hi Jan, Thanks for all your help so far. Just to address this note from your last reply:"I am not sure if I understand it correctly. To allow to load wrong dll (e.g. dll compiled for Update 4 using VS...

View Article


RE: CONNECT crashes when I use ifstream

Hi Chris,[quote user="Christian M"]Consider our scenario: [/quote]You are correct, I did not think about this upgrade way.[quote user="Christian M"]In my opinion, when the platform toolset changes,...

View Article

RE: [CONNECT C#] How do I get my Task ID?

Glad to see you were able to get the Addin MdlTaskId string property name needed.In case you would like a little more context (as originally asked above) on the AddInAttribute class.In the devshell...

View Article

RE: [CONNECT C++] Possible Issue with CONNECT U5 SDK

Are you including this header - prior - too? #include <DgnPlatform\DetailingSymbol/DetailingSymbol.h> Bob

View Article
Browsing all 7260 articles
Browse latest View live


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