Browse By Tags

  • Remote debugging of Microstation/Promis-e add-in

    Hello, I'm wondering if anyone has any experience with debugging a Microstation or Promis-e add-in over a network? My situation is that my Visual Studio is on a different machine than my Microstation App. At present I do not have the option to install…
  • Edit Dimension Element

    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…
  • Does we have the same level of api access(access Bentley DGN files with full fidelity) when develop extension on top of Microstation with a C# addin and a MDL application.

    Hi all, I am new to Microstation development, and recently i want to develop an extension which is to "read" DGN file data(geometry, properties, reference...), i am not familiar with the MDL development environment( especially about the make file…
  • Is there a process limitation to the bentley.interop.microstationdgn?

    We need to process approximately 200,000 dgn files. We would like to process these files on a server for obvious reasons. We have created a c# script that uses the bentley.interop.microstationdgn library. The script works for a while for like maybe…
  • Copy One Model Element to another Model in Single DGN

    HI All, Have any idea about copy model element to another model use Bentley C# Code.. I have code for copy model 1. ModelReference MdlRef = msApp.ActiveDesignFile.Models.Copy(msApp.ActiveDesignFile.DefaultModelReference, null, null ); but…
  • MDL coud not Load by .cfg file

    Hello, I have been creating a MDL addin for microstation using visual studio. I use a config file to automatically load the addin to MS while opening the DGN file. My problem is that i have already created another addin for another project and…
  • Microstation VBA Batch Cell Replacement

    I have created a program which will go through all my DGN drawings that are in many sub folders in a Master Folder. ( Example: C:/MasterFolder/Subfolder/1234.DGN) My program goes through each element looking for specific cell name and when it does find…
  • Microstation Form Export

    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: --------------------------------------------------------------------------------…
  • RE: Dot net application not working in multiple microstation DGN

    Hi Mr. Jon & Mr.Stack I created this using C++ inside Visual Studio 2010. It is a winform application so it will work externally. Please find the Read.h (C++ header file ), where i have written the code to draw blocks give some suggestions. Thanks…
  • Dot net application not working in multiple microstation DGN

    Hi Everyone, I have written one application to create blocks in microstation. Its working fine if one .dgn file is open. If i will open multiple dgn file , its only working in the dgn which was opened first. I used visual studio 2010, C++.net…
  • [v8i SS2 (08.11.07.443) C#] System.Runtime.InteropServices.COMException...

    I have a C# script designed to scan dgn files in a selected directory and generate a report on the files scanned. The script is written to run outside of microstation and it works fine. The problem is when clients attempt to run more than one instance…
  • RE: Create Blocks along center line and count points opened in micro station using Terra scan

    Thanks Mr. Jon Please find the Extract.rar. This is a sample C++ project to copy element made in visual studio 2008. Please can you give any suggestion to make a .ma or .dll file so that i can call it from microstation Regards Manoj
  • Create Blocks along center line and count points opened in micro station using Terra scan

    Hi All, I am using Visual Studio 2010 , Microstaion V8i and C++/C#.net I loaded the laser points to microstation using terrascan. I want to create blocks along the center line having certain length and width. i want to count the number of laser…
  • [C# addin] Processing files in another thread works much slower than in UI

    Hello, I'm writting C# addin to process multiple .dgn and .dwg files. It searches for specific text elements and does some processing on them. I must process these file in another thread because user must have option to "Cancel" the processing of…
  • [V8i C++]How can I disable locate by Levels

    Hello everyone! I wanna develop a new tool to disable users from selecting elements belonging to a specified level.The final effect shows below.Whenever cursor hovers over those elements,it will show forbidden.It would be very helpful if you can show…