Browse By Tags

  • [C# V8I]请问怎么得到模型几何信息?

    使用C#开发v8i 现在需要得到组件中所有点的信息,包括position,normal,uv,index,以及材质信息,有什么接口吗?
  • V8i C# Select Series 2 - Microstation crashes when trying to Query features with in a fence

    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…
  • V8i C# MX com controls

    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…
  • Microstation v8i (Select Series 2) & C# ADDIN : Extracting Database Connection Properties

    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
  • [V8i c#] Open design file needs delay

    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…
  • [V8i c#] Is there a API to import the level library

    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…
  • [V8i c#] Is there a API to merge two files

    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(…
  • [V8i c#] Issue with the text font change using API

    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…
  • Re: [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    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…
  • [V8i C#] IModelChangeEvents

    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…
  • [V8i c#] Is there a API to Change the grid aspect ratio

    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…
  • V8i (Select Series 2) C# Addin - MDL Loader Failed to Load the application

    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…
  • [V8 C#] Click event handling (not ILocateCommandEvents nor IPrimitiveCommandEvents)

    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…
  • V8i and C# InitApp examples ?

    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…
  • Starting Microstation V8i SelectSeries 2 from C#

    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…
  • C#: Locate failed when selecting an item in an Attachment

    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