Browse By Tags

  • accessing the information of the dgn without reading the references with IModel ODBC Driver

    how to get data of dgn model without references another dgn files with ODBC Driver
  • Fence only interact with specific element types

    Hello All, I have written a routine to generate a shape from a series of points and then utilize the shape to define a fence from element. I would like to process the fence in two separate routines one that will clip normal element type like Lines…
  • Is there an easy way to open all models in an ORD DGN file so that they update data?

    Is there an easy way to open all models in a DGN file so that they update data? When we change the Title properties on the DGN, the models do not update unless they are opened. Currently we have to manually open each sheet to get the updated data…
  • Connection Client UserID

    How do I get the users connection client ID (normally company email). I want to use this to validate user for my tools licensing API?
  • [CONNECT/(V8i); VBA/C#] Using C# DLLs in a VBA-Project

    Hello, I have a question. Is it possible to make a C# DLL usable in a VBA project and if yes, how? We already tried with the following Link: https://www.geeksengine.com/article/create-dll.html But in that example you have to move a file in to…
  • ORD CONNECT Update 8 - C# - Drop Linestyle using ElementGraphicsProcessor

    Hello, I am attempting to "drop" the linestyle of a LineString Element using ElementGraphicsProcessor. Unfortunately, I'm only able to extract and add 2 of the 4 lines to my model. The method I'm using extracts the correct amount of geometry (Count…
  • Slow Dynamics in Connect

    It seems like Dynamics in a Primitive Command is much slower in Connect as compared to V8i. While Dynamics is running I can hear the fan of my laptop spinning up to cool the processor, indicating heavy CPU activity. This is only when running Connect…
  • Microstation connect

    We have developed some MDL Applications using Pseudo code in V8. As our management decided to purchase Microstation Connect Edition beginning of Jan 2021. (Budget problems) In order to save time, Can we do the MDL migration in two stages, Stage 1 (During…
  • Call aaapi_initialize return BadImageFormatException in c# using wrapper

    Using C# (in Visual Studio 2017), I am writing a class with a function LoginServer() that calls the ProjectWise API to login, and ready to make further action upon users' request. This dll will be deployed to MicroStation as a toolbar plugin. I'm…
  • ProjectWise api aaApi_SelectDocumentsByProp call fails with Error code:50045 No database connection is active at the moment

    Hi, I am stuck with the below issue while using ProjectWise SDK for fetching documents. Any solution or pointers would be really helpful. I am fetching documents from a given project using aaApi_SelectDocumentsByProp method call. I then extract few…
  • [CONNECT C#/C++/VBA] OpenRoads - Model Flags/Properties - Annotation Cell

    Versions: OpenRoads Designer and SDK Update 4: 10.04.00.48. And MicroStation Update 10 (10.10.00.32 and SDK 10.10.00.23). I am trying to create a model (a cell) that can be placed as annotation cell. The model gets created as expected, but fails to…
  • How to change Catalog instance of a door while placing Programmatically

    Hello everyone, I'm trying to automate the doors placing in my company workflow, but I have a problem with changing the catalog instance of a door while placing, I think that the solution would be using SetCExpressionValue but I don't know the variable…
  • ProStructures API or SDK

    Does ProStructures or ProSteel provide an API ? Is the API included with the product or provided with a separate SDK ? What languages are supported? VBA C# C++ Glossary API: Application Programming Interface SDK: Software Developer…
  • C# or C++ SDK for Geopak

    Does there exist a .net assembly for Geopak, or any Geopak SDK that's not VBA? It could be C++, C++/CLI, C#, or anything other than VBA. Thank you,
  • [c# v8i] Addin and VBA. RegAsm error.

    Hi! I'm trying to do my dll (c# addin) available for VBA. I found two articles how to do it: http://communities.bentley.com/products/programming/microstation_programming/f/19569/t/64713 http://www.la-solutions.co.uk/content/DotNet/DotNet-ComServerGuide…
  • RE: [V8i SS3 C# VBA] How to identify Solid and Hole in Shapes within a Polygon element (elm no 106)

    Hi Artur, Thanks for your answer. Yes it is correct that in for instance in a GroupHole Cell-element, one can read the Solid flag. But withthe new Polygon_Collection element this is not helping, because here all the shapes (simpel shapes or complex…
  • Can't call DLL function that makes ProjectWise API calls

    Using Visual C++ (in Visual Studio 2012), I've made a DLL with a function openDoc(int projID,int docID) that calls the ProjectWise API to open a document. I'm trying to call this function from either C# or VBA, but haven't succeeded with either one…
  • Re: Access all the opened design files in c#

    As Jon indicated, the MicroStation VBA environment and help are a great resource to get familiar with and utilize for testing/prototyping your code. Doing so provides you documentation, a fair number of samples to get started, and an environment that…
  • Text floating along Element

    Is there an API to create a text floating along Curve as it is possible to be done using the Microstation UI? im not able to find it.
  • PLEASE READ: MicroStation Programming forum best practices

    1. When including code in your post, please use the the SyntaxHighlighter, which is one of the tools in the "Advanced Reply Editor". 2. To let others know the MicroStation release and programming language being used without having to open the thread…
  • [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    Hello, I want to use a View (view index = 2) in Microstation as a birds-eye view, so when I click on a location in that view, the main view (view index = 1) is centered and zoomed to that location. The requirements are that only a single click in…
  • Re: Gdi import from oracle spatial ommits compound polygons geometry (gtype=1003,elem_info=1005)

    ...not familiar with that particular error, but at this time I would recommend the use of Visual Studio 2005 Edition when developing applications for the Bentley Map V8 i (SELECTseries 1) platform. Also when adding/replacing references to accomodate your…
  • Re: Gdi import from oracle spatial ommits compound polygons geometry (gtype=1003,elem_info=1005)

    Jiri, For you adhoc connection (e.g. without a schema) code, you will need to add the following highlighted lines to the connectAdhoc method: public void connectAdhoc(string userName, string password, string serviceName) { GDI.GDIExplorerOracleImportsNode…
  • Re: Gdi import from oracle spatial ommits compound polygons geometry (gtype=1003,elem_info=1005)

    ...select the Bentley.Geospatial.Extensions.Oracle.tlb type library when setting your reference.