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

RE: The server threw an exception. (Exception from HRESULT: 0x80010105...

This looks to be a custom (out-of-process) solution (developed by XORail?) and the developer of the application should attempt to debug the issue/conditions triggering it first. e.g. Check with...

View Article


The server threw an exception. (Exception from HRESULT: 0x80010105...

i am trying to convert dgn file to pdf file and that pdf file has to be get printed.not able to convert dgn file to pdf file  in bentley microstation v8i.   Previous it was working in   bentley...

View Article


RE: VBA support in the future

[quote user="Jon Summers"]It's probably a lot less than 3Mb.[/quote]You might be right Jon.  I haven't had a chance to do the importing yet.  I have a lot of modules.  However, since in my personal...

View Article

RE: VBA support in the future

[quote user="Jan Slegr"]minionUnfortunately I am not a good coder yet.That's never ending story, there is always something new to learn ;-) [/quote]While I am not a good coder yet, I was to the point...

View Article

RE: [V8i SS3 MVBA] Place note

[quote user="Changsong Ling"] I'd like to the text close to the leader line directly.[/quote]I am confused: Do you want to place note or you want to solve some visual issues so the result will be...

View Article


RE: [V8i SS3 MVBA] Place note

My purpose is place a text with a leader line. If user move the text, the leader line will move accordingly automatically, not need to move two object. I found the note element can meet my requirement....

View Article

RE: [MVBA V8i]How to get ref information from a element?

[quote user="Changsong Ling"]I thought you experts should be familiar with the keyword IsFromAttachment[/quote]With all respect, it's far from reality ;-)  Try to don't assume or expect. We do this...

View Article

[MVBA V8i]How to get ref information from a element?

Hello All,There is ref file attached in the master file. If select it in the master file, I can see the element.IsFromAttachment is Ture. Any way to get the ref file information? There is no keyword...

View Article


RE: [V8i SS3 MVBA] Place note

you don't have to give up. follow Jan's advice!

View Article


RE: [V8i SS3 MVBA] Place note

I mean I give up to place note in VBA. Trying to suppress the underscore. Sendcommand is the last option. Thanks a lot!

View Article

RE: [V8i SS3 MVBA] Place note

[quote user="Changsong Ling"]Trying to suppress the underscore.[/quote]I don't know what command or tool you use to create the dimension, but the dimensions are controled by Dimension Style, so you...

View Article

Image may be NSFW.
Clik here to view.

[V8i SS3 MVBA] Place note

Hello All,I refered the article http://communities.bentley.com/products/programming/microstation_programming/f/343173/p/107911/357176#357176 to create note. But it is not same as the note function in...

View Article

RE: How to unload all userforms when opening a new file?

[quote user="quasi_modo"]Is there a way to force all userforms to unload when the operator opens a new file?[/quote]First, write a class that handles the OnDesignFileClosed event.  That would be the...

View Article


RE: How to unload all userforms when opening a new file?

Hi Jon,I already tried to do that before I opened the thread but I think there was something wrong with my code.I have now created another routine following your advice and now it works as...

View Article

Image may be NSFW.
Clik here to view.

How to unload all userforms when opening a new file?

We have got the following issue:In our environment (Bentley Speedikon Architecture & Microstation) are several VBA-programs available. Most of them have got a kind of main Userform which is used to...

View Article


RE: [V8i C++] Approach To Edit A Cell's Text Node Inside OnElementModify()

My initial approach for this is to duplicate the ElementDescr of the TextNode, and then call mdlModify_elementDescr2() to "replace" the text element components with the desired text string(s). Then...

View Article

[V8i C++] Approach To Edit A Cell's Text Node Inside OnElementModify()

In my MStnElementSetTool, I want to be able to edit the contents of a text node. Once in OnElementModify() I have the cell, and I can use a ChildElemIter to find the Text Node that I want to "edit"....

View Article


RE: [CONNECT DgnPlatformNet] Get Element by ID

DgnModel activeModel = Session.Instance.GetActiveDgnModel(); Element ele = activeModel.FindElementById(id);

View Article

[CONNECT DgnPlatformNet] Get Element by ID

What's the DgnPlatformNet version of get element by ID?  In VBA that's GetElementByID or in  MDL mdlAssoc_getElement().

View Article

RE: [CONNECT C++] group hole fill color

Hi Zhen, please use Syntaxhighlighter tool when posting a code. It's so displeasing to read unformatted and not colored code :-( My guess is that you have to use mdlElmdscr_addFill function to set an...

View Article
Browsing all 7260 articles
Browse latest View live


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