Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
c#
v8i
.NET dotNET C# CSharp
API
ApplicationObjectConnector
Bentley Developer Network
best practice
Building applications
C sharp
C++
CadInputQueue.Sendcommand
COM
CONNECT Edition
development
DGN
Learning MicroStation VBA
MDL
MicroStation
MicroStation Programming
MicroStation V8i
MicroStationAPI
programmer
Programming
SDK
VBA
Visual Studio
二次开发
PLEASE READ: MicroStation Programming forum best practices
Phil Chouinard
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…
over 11 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C#] C# code to .ma
Anne Vomm
Hi. I would like to know if it is possible to compile C# code to .ma files. I can compile and use the .dll files but can't seem to find anything about .ma files. If it is possible, could someone post steps for it. Thanks
Answered
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
Getting element descriptors of subelements after adding complex shape
bymicek
When i create a complexstringelement based on the lineelements and finally add the complexstring into modelreference, im able to retrieve the dgnelemid of the complexstring. i need an access to the element ids of the subelements (lineelements) to be…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
Accessing materials that are attached by level and/or color
Alex Hazanov
In Microstation materials can be attached directly to element or by level or by color. When material is attached by element I can access it via the API , however when it's attached by level or color I can't find where this information is stored...…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
V8i C# MX com controls
markgardiner
Hi, Bentley MX ships with com controls for model, string, and point selection, As soon as I include one of these controls on my form and build my project, I get the following error. Could not load file or assembly 'file:///C:/Program Files (x86…
Answered
over 9 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Open design file needs delay
thangaraju s
Open design file needs delay Problem : Application is visible & after opening the Design file, immediately tool bar, menu bar will not display the GUI. If we use Delay for 3 seconds GUI gets displayed. Need to know we are Opening the design…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8 C#] Odd behaviour of event handling with IViewUpdateEvents
dgutierrez
Hello, it has been said in this forum that a standalone application could not successfully add a IViewUpdateEvents handler to the running MicroStation instance, since both applications would not share the same memory space. This issue has been commented…
over 11 years ago
MicroStation Programming
MicroStation Programming Forum
Setting TagElement Values c#
Chris Fraser
Hi, I am writing a addin with C#, I have been able to add tags to elements with code with : Bentley.Interop.MicroStationDGN.TagSet newGenTagSet = app.ActiveDesignFile.TagSets.Add("SomeTagSetName"); and then //add the tag set to a element someElement.AddTags…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Is there a API to import the level library
thangaraju s
Is there a API to import the level library Problem: Is there a API to import the level library which is correspond to the below key-ins?? MicrostationDGNApp.CadInputQueue.SendCommand("LEVELMANAGER DIALOG OPEN"); MicrostationDGNApp.CadInputQueue…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
Re: Access all the opened design files in c#
Robert Hook
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…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Issue with the text font change using API
thangaraju s
Problem : 1. If we change the font using api 'currentElement.AsTextElement().TextStyle.Font' , Redraw & Rewrite the element. There is a displacement in the text location. if we use the key-ins, or open manually and change the font. There is no…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C#] PointCloud - attach to model
RTG86
Hello, I'm new here and I have got problem with PointCloud in Microstation V8i SS3. I saw file assembly "Bentley.PointCloud.dll", but I can't do it. Is there anyway to attach file *.POD to DGN in C#? Thanks for any advice and best regards…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i c#] Is there a API to Change the grid aspect ratio
thangaraju s
Problem: Need to know the API to change the Grid Aspect Ratio Tried with the ActiveSettings but we have option to change ActiveSettings.GridUnits, and GridReferences and the same is achievable via key-ins 'MicrostationDGNApp.SetCExpressionValue…
over 10 years ago
MicroStation Programming
MicroStation Programming Forum
[V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)
dgutierrez
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…
over 11 years ago
MicroStation Programming
MicroStation Programming Forum
V8i and C# InitApp examples ?
Marco Suzzi
Hi, I get a very minimal c# initapp working well. But .. I don't know how to open Microstation MainForm or to avoid Microstation exiting at the end of mi initapp.... Where can i find examples or documentation? BTW, is there C# Microstation…
over 12 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
<