[CONNECT C#] Command Table
When I create a command table in a .NET project (e.g. Commands.xml), the project builds OK but MicroStation doesn't see my command table.If I edit the Viz Studio project (*.proj) file manually and add...
View Article[V8i C#/MDL] Translating StatusInt into something readable.
I wonder if anyone could help please? I've got various unmanaged MDL functions in a C# addin for microstation v8i. The implementation of these is fine and when they work it's great.Here's some code for...
View Article[V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!
Wondering if anyone would be able to help with an issue I have setting the clip volume for a view using mdlView_setClipBoundaryElement.Here's the implementation:[DllImport("stdmdlbltin.dll",...
View Article[V8i - VBA ] Dimension with several segments
How can I acess to each dimension indiviadually thru VBA, when we have one dimension with several segments?I can only get and change the first segment. I've tried to implement drop method, but it...
View ArticlemdlRegion_floodFillWithHoles broken in Connect?
mdlRegion_floodFillWithHoles seems to be broken in Connect, at least through the managed interfaces. I've tried calling it with the following definition that works fine in V8I using the exact same...
View Article[C++ SDK Engineer Content] 'Locked' property always return true/locked
Hi Experts,I am using the Microstation C++ sdk to query model's engineer contents, one issue I notice is the 'Locked' property always return true/locked even I saw the element is `unlocked` in...
View Article[CONNECT C++] Can we catch a V7 to V8 file upgrade before Microstation...
When a user opens a V7 file, a Microstation popup is presented that asks the user if they want to "upgrade" to V8 or open the file as V7 ReadOnly. At this point, Microstation has not yet "converted"...
View Article[CONNECT C++] TextBlocks and Carets in a mixed font piece of text
Given a piece of text that uses more than one font usage (e.g. "Note", where the "No" and "te" use different fonts), when you use FindText() to locate that string ("Note"), FindText() does not worry...
View ArticleNative code attach to process debugging
In the Wiki for debugging native code mdl application it mentions being able to attach to the microstation process and then select the dll to debug as follows:Debugging the ApplicationOnce connected to...
View ArticleCode Syntax Highlighting
The new code blocks have support for syntax highlighting. Any chance at getting IPlot Design Script as a language? Also might be neat to get MicroStation configuration file variables as a language too.
View ArticleCreating a VBA Macro to move Drawings to 0,0
I am trying to create a Macro that I can run in the batch processor to move the bottom left corner of my drawings to the point 0,0. The problem is that these drawings are all located at different...
View Articlehow to cast IECInstancePtr to DgnElementECInstancePtr
I want use DgnElementECInstance's following API which gives me user friendly property value, spElementECInstance->GetValueAsString(value, index, false, 0);however when the ECValue is struct type, I...
View ArticleCreating a VBA Macro to move Drawings to 0,0
I am trying to create a Macro that I can run in the batch processor to move the bottom left corner of my drawings to the point 0,0. The problem is that these drawings are all located at different...
View Article[V8i SS2 VBA] Listbox headings
Hello All,How does one set the text for the headings in a multi column listbox? I do use .AddItem to place things in the listbox if that makes a difference.Thanks,Minion
View ArticleMS CE - How do I link DDD to a VBA
I want to know how to link a DDD cell to a VBA so the user can use the VBA form to populate the DDD?Ian
View Article[Connect C++] How to read all linkages and XAttributes contents
Hi Experts,I have a model and one of the element contains 14 linkages and 1 xAttributes but don't know how to read them all out.I read out all engineer content associated with this element, and also...
View Article[CONNECT C++] how get the extended element by C++ native API
Hi experts,I am using DGNPlatform Native C++ version(v5.3.2.56) toolkit independent of MicroStation.For the extended element type 106, I want to know how get the geometry data for the extended element...
View Article[CONNECT C++] how get the feature solid by C++ native API
Hi experts,I am using DGNPlatform Native C++ version(v5.3.2.56) toolkit independent of MicroStation.The following API can get valid IBRepQuery for the smart solid. But it failed for the feature solid....
View Article[CONNECT, C++] Anyone had any luck using the ribbon with Named Expressions in...
Hi folks,I'm trying to use the new ribbon interface to replace my old V8i toolbox in my app. Under V8i I would disable or enable individual icons in the toolbox via calls to mdlDialog_item*()...
View Article[CONNECT C++] The point index of the mesh is the negative value
Dear experts,The mesh point index from the toolkit API is the negative number. As a workaround, I use its corresponding positive number. Especially, after calling PolyfaceHeader::Triangulate(), the...
View Article