Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
.NET
VBA
.dgn
.NET dotNET C# CSharp
.NET Microstation Programming
[V8i SS4
AECOsim
API
Attachment
Attachment Settings
c#
C++
connect
Export
form
import
InRoads
MicroStation
MicroStation API
MicroStationV8i
mvba
Programming
Solid
v8i
V8i programming
Visual Studio
Visual Studio 2017 Community (v 15.9.4)
I want to create a program where I can open a .dgn from an excel toolbar, select items, and export the data back into my excel table. Is this possible?
Joe Spirk
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…
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
Macros - ProSteel V8i
Vyanktesh Nama
Product(s): ProSteel Version(s): V8i Area: Macros Subarea: N/A Original Author: Johannes Michalowsky, Bentley Product Advantage Group Updated By: Vyanktesh Nama, Bentley Product Advantage Group…
10 months ago
ProStructures
ProStructures Wiki
[CONNECT] Distinguish between multiple Tables in a DGN model
Jon Summers
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…
over 2 years ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT/(V8i); VBA/C#] Using C# DLLs in a VBA-Project
Niklas Meyer
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…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
Microstation connect
saravana kumar
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…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C# Addin] VS2017 Community element properties not displayed, showing up as {System._ComObject}
theGreg
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…
Answered
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
Automating workflow to ceate terrain model and export to .dtm format
Azhar Ibrahim
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…
over 5 years ago
OpenRoads | OpenSite
OpenRoads | OpenSite Forum
Edit Dimension Element
Dharma Rajan
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…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
[AECOsim] Extract Element GUID
Huan Ting Chen
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…
Answered
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
Read Type 19 - Solids using VB API
Cesar Mattos
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…
over 6 years ago
MicroStation Programming
[Archived] 中国BDN社区 VBA
Microstation Form Export
kevindragonduong
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: --------------------------------------------------------------------------------…
Answered
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
Can't call DLL function that makes ProjectWise API calls
joshua sorkin
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…
over 9 years ago
ProjectWise Programming
ProjectWise Programming Forum
Re: Using System.Windows.Forms in VBA
Joerg Teresniak
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…
over 12 years ago
MicroStation Programming
[Archived] MicroStation V8i VBA Forum
Known issues in MDL?
DanPaul
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…
over 11 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
How check which command (some id or something) is currently active in Microstation
prusinek
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..…
over 12 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum