I am using .NET, would VBA be more ideal to this?
I am assuming that when microstation opens, I will need to send a command to microstation to automatically load the mdl app and start that. Then the user will select the items who's attributes they…
Named Tables
I recently came across a situation where a MicroStation CONNECT user had placed several Tables in a DGN model.
It occurs to me that there's no simple way to distinguish between tables. For example, let's suppose you place two Tables of…
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…
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…
Good day all,
I haven't found a similar question to mine, so i decided to write one.
I am using VS 2017 Community Edition, version 15.9.4 and i used the InnovoCAD v8i C# Template as published on the VS Marketplace.
The problem I have is that when…
I need to create terrain models and export to .dtm format. I created a vba script that will do this, but it accesses the Create Terrain Model from Point Cloud tool, which opens up the dialog window. Is there a way to just access the assemblies directly…
Dear All,
I want to stretch the existing linear dimension element between two points. How to accomplish this by using C#?
For line element, we have 'modify vertex' method. Similarly, is there any inbuilt method/option is available to modify linear…
Hi,
Is there a way to extract Element GUID by VBA or .NET COM as shown in the DataGroup Explorer (see attached image)? It would also be useful if we can find elements by GUID. There's no sample code in the SDK or docs. Very poor documentation of AECOsim…
Hi,
I'm writing an application read the points and elements inside a solid using .net and I cant find a solid object using the API.
for example:
I have a Solid for a box
Solid
|_Line(4)
|_Shape(2)
I want to be able to read the solid comprised…
Hi,
I have created a microstation macro that can search for all ".DGN" files in a specific folder that the user chooses. below is the code i have written to do so:
--------------------------------------------------------------------------------…
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…
Unknown said:
Hi
I would like use objects from System.Windows.Forms (.NET library) in VBA. Is this possible? If yes then there are any problems with propagate mvba to others users?
Regards
Pawel
A possible approach is to create a NET…
or maybe is possible to disable some microstation commands at runtime (ie trim or extend)
I have to limit user to use only commands implemented im my app (to place and/or modify elements).
Perfect way is to disable even keyins (PLACE LINE etc..…
Hi programmers, do you know about some known issues in MDL/Ustn API related forum/blog/wiki/documentation?
As far as I remember, we have found some issues (bugs in MDL and COM DGN object) in past which are still being found again and again by another…