Questions tagged [microstation]

Microstation is a Bentley trademark and provides not only for GIS graphical tools but has a wide range of products that have a large footprint in GIS and related areas. Sometimes abbreviated ustation there is a large legacy of MDL (Microstation Development Language) and VBA and more recently the ability to interact and build models using c#.

MicroStation™ is a 3D CAD platform owned and produced by Bentley Systems, Inc. It is used stand-alone as a 3D and 2D CAD tool. It is a base platform for other applications in the fields of plant design, architecture, engineering and GIS. Applications are developed by Bentley Systems. Third parties, such as LA Solutions Ltd, may join the Bentley Developer Network and create new applications that use MicroStation as a platform. Development possibilities are provided for several languages: VBA, MDL (a C-style API), the MicroStationAPI (a C++ API) and the DgnPlatformNet API. VBA is delivered with MicroStation. The other APIs are delivered in a separate SDK. To develop using those APIs, you must have both MicroStation and the SDK installed.

20 questions
3
votes
1 answer

VBA Problem - License Information for this component not found - How to identify which component?

I have a VBA file that is working fine on 10 PC's. VBA is hosted within a drafting package called MicroStation / PowerDraft. On 2 more computers when setting up the files as normal i run into an error which says License information for this…
Rob
  • 99
  • 1
  • 3
  • 12
2
votes
1 answer

2D/3D CAD design in JavaScript

I am having 2D design in microstation and I wanted to represent this design in web using any tool(javascript/Unity 3D or any other) where the web tool will not have all the functionality but basic functionality like reshaping or adding a new shape…
1
vote
1 answer

Cannot create MicroStation .net project in Visual Studio

I am trying to create plugin for MicroStation, using .net framework following this tutorial : https://communities.bentley.com/products/programming/microstation_programming/w/wiki/52303/introduction-and-prerequisite I have those installed on my PC…
DSB
  • 166
  • 9
1
vote
1 answer

type mismatch probably due to array being missinterpreted

I get a type mismatch out of this code, if anyone can help that would be greatly appreciated. It probably has to do with where i used the split command.. i am trying to basically grab A2 and B2 then A3 and B3 and so on... to put it in another…
Moe Nay
  • 99
  • 1
  • 10
1
vote
2 answers

find and replace multiple values in vba

I am trying to perform this task in Microstation using VBA. I want to use it to find and replace multiple numbers in the drawing. I know the program generally, however I am having trouble putting this together. I have 2 variables. Thank you in…
Moe Nay
  • 99
  • 1
  • 10
1
vote
2 answers

Unresolved external symbol for some function calls but not all

I'm trying to create a C++ DLL for use in a VBA program. I'm following this example and had success compiling the example code and using the resulting DLL. However, I needed to add some additional functionality to the DLL so I created a few more…
1
vote
2 answers

Programming with MicroStation SDK in C#

I have a customer who wants me to rewrite some VBA code used with MicroStation into C# and using Windows Forms. My customer has a copy of MicroStation installed but I don't so I understand that they will be responsible for testing the code that I…
Matthew Nash
  • 23
  • 1
  • 5
1
vote
0 answers

How to implement interface class in user control toolkit with objects not available when applying the tool in visual studio?

I am trying to develop the following user control. The user control builds with no errors. As I try to load the the toolkit in Visual Studios, I receive the Visual Studio error Could not load file or assembly 'Bentley.Interop.MicrostationDGN' This…
Marty
  • 81
  • 1
  • 1
  • 7
0
votes
1 answer

Microstation Connect VBA: How to select an element in screen

I have a VBA code to copy some elements, but when I try to select any element in the screen, I can't: I need to close my form to do it. I just need to allow Element Selection with my form opened. I'm trying with CadInputQueue.SendKeyIn "MDL KEYIN…
0
votes
1 answer

How to convert a DGN file (shared cells) into a DWG file (AutoCad blocks) in FME?

Me and my colleague are currently trying to convert a DGN file (with many points) into a realDWG file. The DGN file is roughly 90 MB, since there are shared cells in the DGN file. Shared cells are elements that are stored only once in the DGN file,…
Joy
  • 93
  • 1
  • 12
0
votes
2 answers

Object Not Set Error on MbeRefFiles in Microstation Macro

I have a Microstation macro that reads the reference files in the current drawing and then prints them to a text file. We are working on getting this running for the new Microstation v8i (upgrade from v8). The macro normally runs through each…
jnw
  • 1
0
votes
2 answers

Microstation launching into a blank window (no menus or anything)

We have a VB6 application here that automates the process of opening drawings and printing them with a specific printer that turns them into TIFF files. I'm in the process of testing the application as we upgrade from V8 to V8i and I'm running into…
jared
  • 1
0
votes
1 answer

Is it possible to extract source code from an MDL file?

I need to extract source code (probably written in VB) from a microstation MDL file. Is it possible? Thanks,
Noah
  • 152
  • 7
0
votes
1 answer

How to ask user to snap on a vertex of a line element (in the ILocateCommandEvents_Accept handler) of Microstation VBA

I know how to write a VBA macro in Microstation that will ask the user to select an element: Sub Create2DCrossLines() ' Set error handler On Error GoTo ErrorHandler ' Let the user select the bank elements himself Call…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
0
votes
2 answers

copy element from one dgn to another dgn

Is there an equivalent command in microstation for the copyclip with basepoint from autocad to copy an element from one dgn to another dgn? I tried attaching a reference and copying it that way, but then I can not detach that reference. I get an…
TMOSER
  • 1
  • 1
  • 1
  • 2
1
2