[CONNECT C#] Accessing Microstation App using MstnPlatformNET
Hi,I'm trying to update some code and getting rid of Bentley.Interop.MicroStationDGN namespace in order to fully switch to Bentley.MstnPlatformNET and Bentley.DgnPlatformNET.I have an application...
View ArticleMicroStation Script
I’m trying to run a script that detaches a reference file. However, there are multiple attachments, and I only want to detach the one without a logical name. I can detach any with a logical with...
View ArticleSelect and copy graphic group
Hi,I am running an excel macro that creates elements in Microstation. Each element is placed in a graphic group, so I know the graphic group number assigned.Is it possible to select this graphic group...
View Article[CONNECT C++] Pass ECQuery to Table
Suppose I have composed an ECQuery programmatically (see WhereCriterion::CreateStringFilter()). How can I create (a) a Report and (b) a Table using that query?
View Article[V8i C#] PartialDelete bug
It seems like Element.PartialDelete (Partial1, Partial2, Point1, Point2, Selector, ViewSpecifier) is using viewIndex + 1 instead of the passed in viewIndex. Probably a mixup between 1 based and 0 based...
View Article[V8i VBA] Dimension Style Question
I was just wondering why there is no Add method for a Dimension Style like there is for a Text Style? With that said how does on create a Dimension Style via VBA?Thanks,Gerald Piotrowski
View ArticleMDL Function
Hello All,How to call this lidar tmodel function//how to bind Dpoint3d and int to form a expression to evaluate using mdlCExpression_getvalue int FnSurfaceZ( Dpoint3d *Pt, int I) ; // with parameters...
View ArticleMicrostation 8i, vba, level
I notice something strange. I have a cell with one of the elements on "Level 2". When I get the element information on the cell, I can see that the particular element is on level = "Level 2". In VBA,...
View Article[V8i VBA] How to undo changes and close without saving (no prompt)?
Hi,I have searched everywhere but still could not find an answer that worked for me.Basically I batch export a group of DGN files into DXF. I control microstation from a powershell script using...
View ArticleMicrostation MDL - access raster georeferencing unit defaults
Hi, through MDL (or can accept an answer in any development interface, just to get started) I'm trying to access the 'Default Unit Settings' parameters, specifically the values contained in the "Sister...
View ArticleDismiss Projectwise export dialog in Microstation via VBA?
Hi all,I currently use Modal Dialog Events Handlers in Microstation VBA to populate and dismiss dialogs that open during export processes. Now that I have Projectwise integration activated, this dialog...
View Article[CONNECT C++/NET] Any issues/hints porting to Update 7?
We are preparing to port our in-house mdl apps from CONNECT Update 4 to Update 7 and I'm wondering if anyone has already ported and may have tips/tricks/comments/ suggestions that may make the...
View ArticleKey-in for Tentative Snap?
Trying to write program code that requires a tentative snap to the intersection of a line and an arc where the radius and position of the arc is unknown to the location of the line.Is there a key-in...
View ArticleSDK
The MicroStation Connect Edition Update 7 SDK (Software Development Kit) is not available on theSoftware Downloads page, does this now require BDN membership? I hope not!
View ArticleSDK for Microstation Connect
As a site that has written a number of MDL's over the years we were initially shocked at the expense we had to go to with converting our V8i MDL's to Connect MDL's.It would now appear (please correct...
View ArticleHow to remove links from dimension
Hi All,One of my data contains dimensions which containing some linkages with it (Please refer the attachment).I want to clear these links programatically.Can any one help me how to do this.Thanks...
View Article[CONNECT C++] Questions about degenerate surface
Hi,I have a model with a degenerate surface, the surface is showed as curve in the wireframe display, and showed nothing in the smooth view. The attached DGN file is the model.(Please visit the site to...
View Article[V8i VBA] Drop text field to plain text?
I have a number of drawings with text fields using (linked to) a number of Model properties. Since we don't use fields here, I've been asked to convert them all to regular text.I can do this manually...
View Article[U7] mdlViewManager_loadSpriteFromRsrc()
Since it has been reported that Defect #569256 has "in part been resolved by exporting mdlViewManager_loadSpriteFromRsrc() to load sprites", I gave it a try:int iconID = IDI_ICON1; HINSTANCE myDll =...
View Article[V8i .NET C#] How do I delete a dwg xref that is not found? I don't even see...
I'm trying to clean up missing dgn & dwg references for projects (either delete or reattach). I have everything working for dgn files but when I process dwg files I can iterate through the model...
View Article