RE: [CONNECT C++] Issue with TextBlock->FindText() and TextNode Elements
OK. How would know if we are on the last line of a TextBlock ? Actually, this would not be a solution when you have a multi-line TextNode and the final line of the TextNode has mixed "runs" of text in...
View ArticleRE: [CE5 NET API C#] How to active existing Model
[quote user="Nenad Poljcic"]How do I activate existing DgnModel using NET API c# ?[/quote]You've opened a DgnFile and now want to make active a DgnModel in that file?Here's what I found in...
View Article[CE5 NET API C#] How to active existing Model
Hi,How do I activate existing DgnModel using NET API c# ?thanksNenad
View ArticleRE: [CE5 NET API C#] How to active existing Model
Hi Nenad,[quote user="Nenad Poljcic"]How do I activate existing DgnModel using NET API c# ?[/quote]There is an open Enhancement Request # 432451 for a .NET method to activate a loaded model.Known...
View ArticleRE: [CE5 NET API C#] How to active existing Model
Hi Jon,Thanks for reply. It is no problem to find DgnModel, to load it and fill it with elements but the model is not activated only loaded.thanksNenad
View ArticleRE: [CONNECT C++] mdlCell_getLibraryObject
I'd pass false... I doubt this unused bool will be given a new purpose in the future; in the unlikely event that should happen, we'd follow the documentation and choose the new behavior for true. -B
View Article[CONNECT C#] How do I get my Task ID?
I want to get the name of my .NET task ID using C#. It's a static method...AddIn.GetMdlTaskID (addInAttribute);But what is the correct addInAttribute? I'm looking for the .NET equivalent of the...
View Article[CONNECT C++] Possible Issue with CONNECT U5 SDK
I'm including the file:#include <DgnPlatform\DetailingSymbol\DetailingSymbolHandlers.h> and when the compiler runs, I see errors relating to "ViewElementHandlerSubTypes.h". Can anyone confirm...
View Article[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 ArticleSetting 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[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[CONNECT .NET] MstnPlatformNet Forms Classes
I want to find how to make my C# AddIn project's WinForm a child of MicroStation's main window. Is that possible?While browsing MstnPlatformNet help I came across the Bentley.MstnPlatformNET.WinForms...
View ArticleResize a rotated rectangle with click and drag
I need to develop a program in mdl that will allow a user to resize a rectangle. The user can select any corner point or side and drag to a new position. This would be similar to resizing a window or...
View Article[CONNECT C++] Using a RunRange
Using a RunRange is a very easy way to navigate the parts of a TextBlock. However, There seems to be very little one can actually use it for (ToString() and GetProperties() functions). I have a desired...
View Article[connect update 5] SDK Update 5 info
Hi,Does anybody have list/link of fixed issues in SDK for Connect update 5 (10050040)?ThanksNenad
View Article[Connect SDK update 5] Errors when including PointCloudApi.h
Hi,My system is windows 7, VS 2013, VS 2015, NO clr supportI get same 11 errors, VS2013 and VS 2015 when including PointCloudApi.hSame errors has occurred in update 1,2,3 and 4Error list:Error 9 error...
View Articlewhat is the best way to delete everything in a file except visible elements...
I am looking to remove everything in a dgn file except what is visible in view 1. It looks like mdlScanCriteria_setViewTest will scan what I want to keep.And then I suppose I could create a new file...
View ArticleRe: [Connect SDK update 5] Errors when including PointCloudApi.h...
Artur,Take a look for OrientedBoxCR on communities. You should find:1. A 2nd thread on the same topic posted by the same user within a couple hours of the first/this.2. An older issue with the same...
View ArticleRegarding overlapping Geometry
Hi,I have encountered one overlapping complex shape boundary in a Microstation file. Is there any MDL or C++ API to remove or heal such overlapping boundaries?Please find the attachements of...
View ArticleMicrostation V8i
Hi,How to delete and create tagset in Microstation V8i using c.Regards,Saravanan
View Article