Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Browse By Tags
All tags
c#
MicroStation V8i
.NET dotNET C# CSharp
addin
API
Bentley Developer Network
Building applications
C sharp
c#.net
CadInputQueue.Sendcommand
COM
CSharp C# .NET dotNET
development
DGN
Learning MicroStation VBA
MicroStation
MicroStation Programming
microstation 二次开发
MicroStationAPI
MicroStationV8i
microstation二次开发
programmer
Programming
SDK
v8i
V8i programming
Visual Studio
[C# V8I]请问怎么得到模型几何信息?
yl z
使用C#开发v8i 现在需要得到组件中所有点的信息,包括position,normal,uv,index,以及材质信息,有什么接口吗?
Answered
over 6 years ago
Bentley 中国优先社区
◆ 二次开发(MicroStation编程, ProjectWise编程等)
V8i C# Select Series 2 - Microstation crashes when trying to Query features with in a fence
bjasti
All, I have used the following code to query features with in a fence BGU.IImportCriteria criteria; BGU.IStorageImportCriteria storageImp;criteria = GDI.GeoDataInterchangeAddIn.Instance.MasterFileImport; if (criteria == null) return; // Set spatial…
over 9 years ago
Geospatial Programming
Geospatial 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
Microstation v8i (Select Series 2) & C# ADDIN : Extracting Database Connection Properties
bjasti
Hello All, Can we extract spatial database connection properties from the opened DGN programmatically. I would like to retrieve service name, schema name and password if it is possible. Thanks
over 10 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
[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
[V8i c#] Is there a API to merge two files
thangaraju s
Is there a API to merge two files Problem : Need API to merge two DGN files or alternative method without using keyins MicrostationDGNApp.CadInputQueue.SendCommand("DIALOG REFERENCE TOGGLE "); MicrostationDGNApp.CadInputQueue.SendCommand(…
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
Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)
dgutierrez
Thank you both Jon and Jan. I've got some expertise in programming C# applications and I have already some developments for MicroStation, so I would like to try invoking the MDL API from C#. Nevertheless if it were necessary, I could also try to…
over 11 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C#] IModelChangeEvents
Nikemundo
Hello! I have created C# .NET MicroStation Addin. I need to have some things done before model is deleted so I try to use Bentley.Interop.MicrostationDGN.IModelChangeEvents. I have written ModelChangeEventsTest class that implements IModelChangeEvents…
Answered
over 9 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
V8i (Select Series 2) C# Addin - MDL Loader Failed to Load the application
bjasti
Hello All, I am new to C# AddIn development. I have successfully compiled an example ADDIN(Example.DLL) using vs2010 IDE and .NET Framework 4. When I try to load the application through Utilities --> MDL Applications I am getting the Error "MDL…
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
Starting Microstation V8i SelectSeries 2 from C#
Andrew_Laing
Heyas all, Just another .NET Developer moonlighting as a drafter. While in the process of validating V8i SelectSeries 2 for Deployment across my group, I noticed that the Commands I use to start Microstation up no longer seem to work the same way they…
over 12 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
C#: Locate failed when selecting an item in an Attachment
Lele
Hi, In csharp I created a class that implements the interface ILocateCommandEvents to select items from the drawing, but I had problems when I select an item that belongs to an Attachment: Locate fails. Thanks --Lele
over 13 years ago
MicroStation Programming
[Archived] MicroStation V8i Programming Forum
<