RE: Copy One Model Element to another Model in Single DGN
Hi,at first, please read and follow Programming Forum Best Practices. At second, please use Syntaxhighligher tool when posting any code (and set a proper language).[quote user="suresh p"]Any idea...
View ArticleRE: Copy One Model Element to another Model in Single DGN
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 ArticleCopy One Model Element to another Model in Single DGN
HI All,Have any idea about copy model element to another model use Bentley C# Code..I have code for copy model 1.ModelReference MdlRef =...
View ArticleRE: Weird tag behaviour when editing shape elements ...
[quote user="Jon Summers"]What we don't know is how MicroStation computes tag element positions.[/quote]The tag position is based on an origin association plus an offset that is established when the...
View ArticleWeird tag behaviour when editing shape elements ...
We have discovered a weird behaviour of Microstation when running a VBA code to manipulate shape elements.The code is designed to change the width of shape elements (ie. the user enters a value in a...
View ArticleRE: [Connect U1, MDL/C++] mdlElmdscr_createShapeWithHoles() returns error
Please post a code snippet that shows how you use that function.Code Syntax HighlightingWhen you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that resembles a...
View ArticleRE: [Connect U1, MDL/C++] mdlElmdscr_createShapeWithHoles() returns error
[quote user="CWer"]Is there any known differences in what the function expects between V8i and Connect?[/quote]The Connect version of mdlElmdscr_createShapeWithHoles validates the inputs to ensure that...
View ArticleRE: Saving Textstyles using VB or Basic MACRO
Thank you for the clarification on proper forum etiquette unfortunately my mystery still remains.
View ArticleRE: Saving Textstyles using VB or Basic MACRO
[quote user="Don P"]unfortunately my mystery still remains.[/quote]Why? Your answer provides no information :-(You tried to use macro in not very fine and not recommended way. To use VBA to change...
View ArticleRE: [Connect U1, MDL/C++] mdlElmdscr_createShapeWithHoles() returns error
Thank you Brien, that helped me understand what happened. In one instance an invalid hole element was created and that didn't cause any problems in V8i but in Connect.
View Article[Connect U1, MDL/C++] mdlElmdscr_createShapeWithHoles() returns error
Hi,this post is very brief but before I dig into details I would like to know if anyone have used the mdlElmdscr_createShapeWithHoles() function in Connect?I try to but the code that works fine in V8i...
View ArticleRE: Saving Textstyles using VB or Basic MACRO
I am sorry, I must not have communicated my problem very well. I created a VBA macro to modify an existing textstyle. All commands worked EXCEPT saveall Attempting to solve the problem from another...
View ArticleRE: {CONNECT C++} "MSGBOX_ICON_CRITICAL" definition
[quote user="Zhen Li"]I can not find "MSGBOX_ICON_CRITICAL" definition[/quote]The design of MDL relied on a huge number of #define statements in the public namespace.The MicroStationAPI rationalises...
View Article{CONNECT C++} "MSGBOX_ICON_CRITICAL" definition
Hi,I can not find "MSGBOX_ICON_CRITICAL" definition. Could you please tell me the header file name defines this? Best,
View ArticleRE: Saving Textstyles using VB or Basic MACRO
Let's make it clear: Forget your code, it's disfunctional and fragile. I am surprised it works on your computer, many key-ins don't work on mine. And even when I simplified the code so I use only...
View ArticleRE: Saving Textstyles using VB or Basic MACRO
Correction: I was wrong, texstyle saveall is available in key-in dialog, but unfortunately it does not change the main issue: It doesn't work correctly. You can create Service Ticket for this issue,...
View ArticleRE: Saving Textstyles using VB or Basic MACRO
[quote user="Jan Slegr"] texstyle saveall is available, but unfortunately it does not change the main issue: It doesn't work correctly[/quote]Thanks for pointing that out. I've updated our web page to...
View ArticleRE: [V8i MDL] mdlExternal_wait freezes MicroStation
MDL functions typically return domain specific error codes. If the domain is typically a MicroStation (programming) ecosystem/subsystem then error codes (historically) will be negative values defined...
View Article[V8i MDL] mdlExternal_wait freezes MicroStation
Hello everyone,in a bigger Project, we call a simple exe from our MDLs and retrieve the exitcode from the exe.The code is working fine for several weeks, but on rare and random occasions, MicroStation...
View ArticleRE: Saving Textstyles using VB or Basic MACRO
I placed a ticket with Bentley and they are aware of this thread. Thanks guys!!
View Article