Browse By Tags

  • ORD | Get Feature definition.

    ORD | 2021 release 2 update 10 | 10.10.21.04 In Ord, each element has a feature definition. Is there a way to get the feature definition for each element? I have a list of IDgnECInstance. I need to get their feature definition and description more code…
  • [CONNECT 10.10 C#] Missing Fonts

    I’m trying to figure out if there is a way to get a list of missing fonts either by the message center or other means using the API. I want to be able to pull this into a list so that we can make sure the fonts are added to the completed projects.
  • Draw active Point using "Application.create..."

    Hi community, newbie here. Trying to get into Microstation and coding after almost 20 years. I am coding a point importer and manipulator and trying to draw a point into the DGN using the "Application.create..." function however don't seem to find the…
  • How to Encrypt dgn file using externel dll?

    We have our own encrypt mechanism . We would like to implement it when save action triggers. Also we would like to decrypt it when open action triggers. We tried with Read and Write API hooking. But its not Succeeded. Is there any possible way to…
  • User Form with Sorted List of Level Names with VBA

    All I have been working a "sorted" list of level names in the active design file. I keep getting a run-time error 438 when the macro gets to the sorting routine. The main idea is for the user to pick a level from the list box on the form. This is…
  • what apis is used to get the item list and properties on the Item?

    Hi, I have an i.dgn model and open with Microstations, there are some items in the item explorer, which apis can i use to get iterate all those items, and what api is used to access the properties on that item? I am run an MDL application…
  • Microstation connect ElementChangedEvent ChangeTrackKind

    Hi, I overloaded the ElementChangedEvent event and get a ChangeTrackKind value in eventargs.Change Delete = 1, Add = 2, Modify = 3, ModifyFence = 5, Mark = 7, ModelAdd = 9, ModelDelete = 10, AddXAttribute = 11, DeleteXAttribute = 12, ModifyXAttribute…
  • Adjust Dimension-Text Location Using Microstation VBA/C#

    I want to adjust/move the dimension text from one location to another location( Here both source and destination co-ordinates are known ). How to perform this? Kindly suggest. Screenshot is attached for your reference. In the Screenshot, the Red…
  • Upgrading V8i MDL Apps to Connect

    Is there any documentation on the absolute basic essentials to implement when porting from V8i mdl's to Connect?. I have written a few mdls in the past and want to now re-compile them for Connect. I have no idea where to start and previously made use…
  • [microstation connect update4 MDL c++] SolidUtil::Create::BodyFromLoft failed in my program, why?

    extract boundary curves from top and bottom b-surface, and then making b-surface with the two boundary curves failed, please give me a reasion, DGN file in attachment below, my code as follow: CurveVectorPtr profileVec[2]; // 1. extract the first…
  • [Microstation Connect Update4 MDL C++] how to implement the function of tool sweep surface along curves in c++ (sweep two along one)?

  • [CONNECT C++] ChildElemIter not working on ElementDescriptor from ScanCriteria

    I am porting my old v8i code to Connect and suddenly the code below is not working anymore. The code below will scan a certain level for element descriptors and I check if the type is a complex shape. If so, I will iterate through the children of the…
  • How to disable or enable the Menuitem or Toolitem of microstation using c#?

    I am developing an addin for microstation. For this we are using a custom menu. While the addin is loaded the custom menu will be loaded from .dgnlib I want to disable some menu items in the custom menu till the user is login. Once the user is logged…
  • [V8i C++] CPU usage

    Hi everyone, I'm currently developing several macros using VBA but I found out that when it comes to import, manipulate and project heavy data, the process takes a lot of time to elaborate all these points. (I know there's a point cloud tool, but i'm…
  • [Microstation v8i] Dialog Builder and Command Table Editor etc.

    Hi everyone, I know, that new Dialogs can be created with MFC as well, but for certain Tasks where e.g. colorpicker or Level-picker are necessary it seemed to be more useful, to use the MDL-Dialogs instead. My question is: Where can I find the Dialog…
  • I've problem with POD-file attaching.

    I use MS V8i and SDK mssdk081109357en. I make build by instruction . I have some problem with example from SDK, which name is "PointClouds". I changed the code for debuging in next way: ... case DITEM_MESSAGE_QUEUECOMMAND: { Bentley::Ustn::Element…
  • [v8i vb.net] How to expose XAttribute Data via VB.net

    I want to read XAttribute data associated to an element, I don't know if it is possible using vb.net. The link below from 2011 states that it may become available in future releases of Microstation. "XAttributes are supported by the MicroStationAPI…
  • [V8i C C++] API JT Export

    Hi, I would like to automate the export of DGN file to the JT format. Is there an MDL or C API that I could use. May be a key in command ? I know there exists a jtexport command but it cannot be used to launch the conversion. Any help would be appreciated…
  • Resizeable Dialogboxes, time for it now

    Hello Bentley. I think Jeffery Ashley at Bentley could answer to this question. For all times Bentley products didnt have standardized Dialogboxes. It would really save time, money and headace if you could make all dialogboxes resizable and have…
  • COM error from c# app outside VS?

    I have a c# app developed in visual studio 2012 that references bentley.interop.microstationdgn.dll to process dgn files. When I run the app in studio it works fine but, when I try to run it outside of studio, I get the following error: Retrieving…
  • Microstation v7 MDL using external DLL: Passing 2d array of char[] back from DLL

    Hi all, As I've mentioned in prior posts, I'm developing an interface between Excel and MDL v7. I have the Excel bits all working and the DLL is working from within Microstation. Thanks to all the help from prior posters! Here's my latest roadblock…
  • mdlState_ functions causing silent termination when app is called by another MDL app

    Hi, I've been beating my head against the wall on this for awhile and I'm wondering if anyone else has seen this. I'm upgrading some old 'pure' MDL apps that have been used with V8 2004 in WinXP to V8i in Win7. There is one core application that performs…
  • Trying to use an external DLL inside a v7 MDL program

    Hi all, I need to write an MDL program that moves data to/from an external spreadsheet from within Microstation v7. So far as I can tell, there are two options open to me: Microstation VBA and pull in the appropriate references to bridge the gap;…
  • RE: Dot net application not working in multiple microstation DGN

    Hi Mr. Jon & Mr.Stack I created this using C++ inside Visual Studio 2010. It is a winform application so it will work externally. Please find the Read.h (C++ header file ), where i have written the code to draw blocks give some suggestions. Thanks…
  • Dot net application not working in multiple microstation DGN

    Hi Everyone, I have written one application to create blocks in microstation. Its working fine if one .dgn file is open. If i will open multiple dgn file , its only working in the dgn which was opened first. I used visual studio 2010, C++.net…