Browse By Tags

  • how to read dgn file with Bentley.DgnECPlugin3

    I want to be able to read this dgn file, but when I try to load the Bentley.DgnECPlugin3 plugin, it returns null assembly , in addition to when I try to run the code it throws me the following error I currently have MicroStation CONNECT Edition installed…
  • Cannot create MicroStation Connect plugin project in Visual Studio 2019

    Hi, I am trying to to develop a plugin for MicroStation with .net framework, following this tutorial : https://communities.bentley.com/products/programming/microstation_programming/w/wiki/52303/introduction-and-prerequisite I have those installed…
  • MicroStation V8i: reference documentation for Bentley.Interop.MicroStationDGN in C#?

    Hi Experts, I am working on some C# AddIn code (Visual Studio) for MicroStation V8i SS4. The Visual Studio code refers to MicroStation DLLs and uses the names spaces such as Bentley.Interop.MicroStationDGN Bentley.MicroStation.InteropServices…
  • Connect Version 13 C# Programming - ScanCriteria

    Hello to All, I am having issues with ScanCriteria scanning and finding elements, I have attached the code below: Any help would be appreciated. In vb.net coding I used the Bentley.Interop.MicroStationDGN assembly which is a different scan process…
  • Connect multiple test Agent with test Controller

    Hey, I have followed all step (mentioned here : https://msdn.microsoft.com/en-us/library/hh546459.aspx ) to connect my agent with controller, but I am failed. Please tell me what should I do to connect my test agent (running in VM) with test controller…
  • RE: [CONNECT C#] Problem Building Example with Viz Studio

    Thanks, Jan! That fixed my problem. I had tried to change the .NET Framework Version in the project properties, but that resulted in an incomprehensible error dialog.
  • [CONNECT C#] Problem Building Example with Viz Studio

    When I build a CONNECT C# example (e.g. ManagedToolsExample ) from the SDK prompt, all is well. If I run openSln.bat to open Viz Studio from the same SDK shell then I see several errors similar to this... ...\SDK\examples\Elements\ManagedToolsExample…
  • Draw Sections along center line and offset to centerline (C# Programming for microstation V8 2004)

    Hii All, I am new to microstation development. I am using C#.net and Visual Studio 2010. I want to do offset of a center line in both side and draw sections in a certain interval to the centerline. Would anyone help me to do this without using cadinputque…
  • Can't call DLL function that makes ProjectWise API calls

    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…
  • ProjectWise SDK and C# Wrapper Classes - Heap Corruption

    Hi everyone, I've hit a bit of a brick wall and I am running out of clues on how else to debug this problem. In a nutshell, I've got C# wrapper classes written around the ProjectWise API and in turn, this library is consumed and used by an MVC3 web…
  • 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# 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…
  • 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…
  • problem with references

    Hi, I'm trying to recompile my CS functions, and my references look like this at the moment: using System; using System.Collections.Generic; //using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Media; using System…
  • more than one project in C#, Feature Folder.

    happy new year to everyone!. I have a question. I need to work in 3 C# differents projects. but I want compiled in differents dll. Ive started to create a folder into the Feature folder, but when I compile this project it creates a new…
  • 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…
  • Visual Studio alternatives

    After getting sticker shock from reviewing the current pricing structure of VS 2010, can anyone recommend C# compiler alternatives to use with the MS SDK. Was going to go with the 2010 Pro edition until I found out it is only a one year license. Charles…
  • All-In-One Code Framework

    I know this is not specifically a MicroStation subject but if you're doing native code development, you'll likely find it useful. The All-In-One Code Framework site at http://1code.codeplex.com/ "delineates the framework and skeleton of most Microsoft…
  • 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
  • Setting up Visual Studio for Microstation SDK in C#

    Hello, I am new to the Microstation API. I have installed MicrostationSDK V8i and Visual Studio 2008. However when I run the TextMod example it gives me compilation errors. I am presuming that this is because I need to setup my Visual Studio environment…