[MS CONNECT C++ Update 13 - 10.13.01.01] Some mesh data is far away from it's...
Hello,Been having a problem with processing mesh data, some object facets appear to be miles away from their actual location.BentleyStatus MeshProcessor::_ProcessFacets(PolyfaceQueryCR facets, bool...
View Article[CONNECT C#] Create Associated Dimension to Sub-Element within Shared Cell...
Hello,I need some help to programmatically add dimensions into a 3D model where the dimension vertices are associated with edges or vertices of on or more smart solids contained within shared cells....
View Article[CONNECT C#] LineStyle Scale issue
Hello,I need to set scale for custom line style. To set style I use ElementPropertiesSetter class and SetLinestyle method.I found topics that says I need to create LineStyleParameters and pass it as...
View Article[CONNECT, C++] Detecting workspace changed
Hi folks,Connect has a function SystemCallback::SetWorkspaceChangedFunction(). Similarly V8i had a function mdlSystem_setFunction ( SYSTEM_WORKSPACE_CHANGE, myworkspaceChanged );For both of these, the...
View Article[CONNECT C++] ViewGroups and ViewInfo
When we do something like this (taken from SDK ..\Visualization\DisplayStyleExample)... ViewGroupCollectionCR viewGroups = dgnFile->GetViewGroups(); ViewGroupPtr viewGroup = viewGroups.GetActiveP();...
View Article[MicroStation Connect c++] v14 Microstation Freezes then crashes on (mdl...
Hello again Guys,I have an MDL application that functions properly in every way except on unload. No error, no dump. If I kill the dialog via the upper right hand X it goes away, but the...
View Article[MVBA MICROSTATION CE 13] - Identify Star / End point of a line
Hi, I'm creating an automation to generate a Halo automatically in accordance with LineStile. On my script I'm using Ee.Current.range.Low and Ee.Current.range.High to get the edges, however I got a...
View Article[CONNECT C++] What was the format of int for MicroStation XM?
From native C++ I am attempting to read user data linkage data created in dgn files made from MicroStation XM using an mdl application from .mc files. The struct for the data contains ints, doubles,...
View ArticleConverting Metric working units - to Inches and Custom setting in the...
I am having to change the settings > Design File>Working Units. I have tried the VBA record over and over It seems to record some of it in a Macro9ModalHandler, I actually have a 6, 7, 8, and...
View Articlemodify current ACS
which are the steps to modify current ACS ?I should reset it (move origin to (0,0,0) and unrotate)I have tried the following code, but the current acs is not modified :(if (mdlACS_getCurrent (...
View ArticleHow to close the form correctly?
Hello everyone!I can't get to programmatically close the form.Each application form is made as described in this comment.Next, I want to close the form from the menu:private void...
View Article[CONNECT MicroStationAPI] Documentation of DisplayPath contains duplicate...
The MicroStationAPI help doc. has a useful description of Display Path...The first few paragraphs (up to subsequent entries in the path ) are duplicated.
View ArticleMicroStation CONNECT -Tag Text is getting rotated by some angle
In MicroStation CONNECT, I am having issue where the tag is getting rotated by some angle.I am extracting the intial values from a tag element and then trying to update the text with the new values...
View ArticleStatus AccuDrawHints LockDistance / LockAngle
MSTN 8i SS10, VBADear All, i need to check a Status off LockDistance/Lockangle by AccuDrawHints via VBA or APIs. Is it possible? Thanks.
View Article[CE U15 C#] Setting update sequence
Hello,I want to set the update sequence with C# code.In C/C++ (V8i) I can use the function mdlModelRef_setUpdateSequence(...).Is there any DOT.NET class to set the update sequence?RegardsMartin
View ArticleMS V8i SS3 hatch GroupedHole element in C#
HiI cannot find a way to hatch a GroupedHole element in the C# API. To hatch a simple Shape I use the following method public static ClosedElement ShapeHatched() { Application app = Utilities.ComApp;...
View ArticlemdlPattern_area
We use the mdlPatter_area function in different MS Versions from SE to Connect . (We develop MDL since 1989In Connect we have the following problem which works fine in SE up to V8i. The same drawing,...
View ArticleConnect - API or MDL
I am sure this will be an odd question but im trying to figure out if we are using API or MDL or what.When I take some of the courses on Learn they are talking about things that do not appear in my...
View ArticleCross sections
Hiwe make reinforcement applications for Autocad and Microstation. In Autocad we use the AcDbSection class to generate cross sections from 3D elements direct in the dwg.This means we create a new...
View ArticlemdlPattern_area
We use the mdlPatter_area function in different MS Versions from V95 to ConnectIn Connect we have the following problem which works fine in V8iThe same drawing, the same values like cellname , size...
View Article