[CONNECT C++] How to process Text in a cell?
How do one process TEXT/TEXT_NODES in a cell? It seems like one should be able to create a ITextQueryCP that could return the TextBlock(s) found in the cell. However, that doesn't seem to work:...
View Article[CONNECT C++] Sync ComboBox Dialog Item
I have a MSDialog item list that contains several text items and a ComboBox. All items have access strings that are published global variables.The code to sync the dialog that contains that item list...
View Article[CONNECT C#] Long-running MDL App that can Import Models
Sorry if this ends up being several questions. If I need to split it up into a couple of different threads, I can do that.I'm trying to create an MDL app that will run in the background while the user...
View Article[CONNECT C++] Trying to use DetailingSymbolBaseHandler
I'm trying to use DetailingSymbolBaseHandler:DetailingSymbolBaseHandler *detailingSymbolBaseHandler = dynamic_cast<DetailingSymbolBaseHandler*>(&eeh.GetHandler()); if...
View ArticleRE: CONNECT crashes when I use ifstream
Jan, Thank you for the reply! I had typo in my earlier post. I was indeed using Visual Studio 2013. You answer explains why we see discrepancy between OpenRoad Designer and Microstation Connect. At the...
View ArticleRE: [CONNECT C++] Trying to use DetailingSymbolBaseHandler
[quote user="Bruce Reeves SRNS"]DgnPlatform/ViewElementHandlerSubTypes.h(47): error C3646: 'GetCalloutType': unknown override specifier[/quote]Try #including DgnPlatform/ExportMacros.h before you...
View ArticleRE: [CONNECT C#] Long-running MDL App that can Import Models
[quote user="Neil McGuire"] I've been trying to ask how to go about joining the BDN[/quote]Send an e-mail to bdn at bentley.com.[quote user="Neil McGuire"] If I need to split it up into a couple of...
View ArticleRE: [CONNECT C#] Long-running MDL App that can Import Models
Hi Neil,[quote user="Neil McGuire"]Sorry if this ends up being several questions. If I need to split it up into a couple of different threads, I can do that.[/quote]I agree with Jon it's better to...
View ArticleRE: Linking Microstation Elements to a Database Records
Hi,please, when posting any code, always use Syntaxhighlighter tool (yellow pencil icon) with a properly set language (VB in your case) and don't post the code as a normal text. It's ugly and...
View ArticleRE: CONNECT crashes when I use ifstream
Hi Greg,[quote user="Greg Pei"]You answer explains why we see discrepancy between OpenRoad Designer and Microstation Connect. [/quote]I agree it can be a bit confusing, because depending on a target...
View ArticleRE: Linking Microstation Elements to a Database Records
[quote user="Toby77"]Linking Microstation Elements to Database Records[/quote]This article about MicroStation and external databases may help.
View ArticleLinking 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 ArticleRE: [CONNECT C++] Sync ComboBox Dialog Item
Solved: I was not synchronising my own dialog. Oops!
View ArticleRE: [CONNECT C++] Trying to use DetailingSymbolBaseHandler
[quote user="Jon Summers"]Try #including DgnPlatform/ExportMacros.h before you #include that header.[/quote]Tried, but it didn't seem to make a difference..
View Article[CONNECT C++] ITextEditP::GetTextPartIds()
In my usage of ITextEdit::GetTextPartIds(), I have never found more than a single "textPartId". When might one return more than a single entry in the T_ITextPartIdPtrVector ? Bruce
View ArticleRE: [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from...
I have been passing elements to MDL using C# (Connect): byte[] eleHandle = ele.ElementHandle; C++ (Connect): extern "C" DLLEXPORT void Example(ElementHandle ele) C# (V8i): int eleDscr =...
View ArticleRE: [Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from...
[quote user="Nick Carter"]I am trying to get the ElementRef and DgnModelRef from MicroStation V8i C# API[/quote]MicroStation V8 doesn't have a C# API. You use the VBA (COM) API. You can also use MDL...
View Article[Microstation v8i, C#/C++] How to get the ElementRef and DgnModelRef from a...
I am trying to get the ElementRef and DgnModelRef from C# API of elements I have selected so I can pass through to some Native MDL code that needs to use them?From searching through these community...
View ArticleRE: [CONNECT C#] Long-running MDL App that can Import Models
Thanks for the email address, Jon. I sent them an inquiry yesterday, and hopefully will hear back soon.
View ArticleRE: [CONNECT C#] Long-running MDL App that can Import Models
[quote user="Jan Slegr"]It seems there is a lack of knowledge how MicroStation variables works and also how MicroStation application works.[/quote]No argument here. I have been working through...
View Article