OpenPlant Modeler CE Update 11 C# - How modify property value of a Saved View
Hello,I want to modify some properties of the Clip Volume Settings section in a Saved View using C#.The values which I want to apply are items of a list as shown on the picture below. All items are...
View Article[CE U17 C#] Customize the ribbon with XML
Hi guys. I continue working on the C# addin for MicroStation CE. And I created my custom ribbon with an XML file which is loaded to MicroStation from the MS_RIBBONXML variable in my custom CFG file...
View ArticleSolid By Extrusion API in Microstation V8i SelectSERIES 2
Hello to everyone,I'm currently developing a function that tries to do an extrusion of a MSElement, but unfortunately it seems to be harder than I thought.The API that I tried were...
View ArticleMicroStation VBA batch save to different file type using VBA
Hi, I'm trying to automate a task for a colleague. I use VBA in other applications but do not use MicroStation so I may be going about this the wrong way. I have a number of DGN files in a folder. I'm...
View Article[CE U17 C#] Render interactive points from (X, Y, Z, Color) parameters in the...
Hi guys,I'm looking for a possibility to render interactive points from (X, Y, Z, Color) parameters in the graphic area.What I mean.I have some file with a collection of points. Each point has info...
View Article[.net c#] [ORD 10.10] Get element template
Each element can be assigned a template. How can I get the template associated with the specific element by Id or Element?I found out how to attach a template to a specific element but can't find an...
View Articlehow to get those two line elements highlighted by intersection snap [C#]
Using "HitPath hitPath1 = DoLocate(ev, true, (int)ComponentMode.Innermost);" , I can only get one element highlighted by intersection snap. I got to know there is method in C++ API "HitPathCP path2 =...
View Articleerror opening dgn file
hello, can someone help me open the dgn file. this is what it reports to me, see picture
View Article[MSCE C++] How to Set Tool Settings Window's Title
I have tried to change the tool settings window title using the following but although it works for other dialogs it has no effect on tool settings:mdlWindow_titleSet((MSWindow...
View ArticleIs there a way to pre-set XFM option for saving DGN charts to different value?
Hello everyone, I have a question:Lets say I'm trying to save DGN. Save As dialog is opened and you can see the possibillity to tinker with the Options. Is there a way to prepare settings that will be...
View Article[CE U17 C++] Create a POD file with a custom point
Hello guys. I want to create my custom POD file with the custom point. And I found a few examples of how to do it with a PointCloudPodWriter. But at the end of the process, I got an error. It has code...
View Article[ORD 2021 R2 VBA] Set oLevels = ActiveModelReference.Levels takes a long...
It might be worthwhile to know that I'm working from a server, and the data rate might be a little slow. Even so, the amount of time it takes to do the process seems a little excessive. When I execute...
View Article[CE 10.17.02.61 C#] Element preview for cell
Hi,I am trying to get a preview of the cells in a cell library, I am using the following code to (try and) accomplish this:The calling function in my main view model, which searches for the requested...
View ArticleHow do I place a cell with updated text in Open Roads Designer using C# WPF...
Hi all, I am fairly new to C# WPF, especially interacting with and placing cells. I was able to figure out placing my cells, but am unsure how to place them with my updated text (my WPF app adds text...
View ArticleVBA interface error: failed creating the comp manager - 0x80040583
Hi All,I am running Microstation Connect Edition Version 10.17.02.61 and am having issues with a macro that was previously developed in Microsation Powerdraft v8i.I am getting an error saying VBA...
View Article[CE U17 C++] Create a cell from a zero-length line and past a few copies into...
Hi guys.I have some test code that creates some count of zero-length lines with some size, color and random coordinates:ISessionMgrR sessionMgr = ISessionMgr::GetManager(); DgnModelRefR model =...
View Article[MSCE U17 C#] Transform coordinates
Hi,It has been a while since I worked with transformations so I will need some help.I want to transform coordinates from world coordinates to a local coordinat system aligned with the green line with...
View ArticleSet display style in vba
Hi all,We have been looking for a possibility to set a display style on a reference by a vba macro. Does anyone succeeded with this action. We could only find our way to set the display style on a view...
View Article[CE U16 VBA] - Macro works correctly until I have instance of...
Hello Community.Initial information:The Bentley Product Version(s): MicroStation PowerDraft CONNECT Edition Update 16 ver 10.16.02.36 || OpenBridge Designer CE 2022 RE2The Operating System Version:...
View ArticleIs there a way to get the coordinates of each reference in a model?
I have several models referanced into a master model that I need to draw a bounding box around.The bounding box needs to replicate the box that appears when you set the reference hillite mode to...
View Article