• [Microstation CE Update 17] [C#] | Update buffer | Undo previous change

    Ivan Petrov
    Ivan Petrov
    I have the next code: public void Update(IDgnECInstance instance, string propertyName, string value) { instance.SetAsString(propertyName, value); instance.WriteChanges(); } How can I enable users to reverse actions performed in my custom form using…
    • 29 days ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT UPDATE13 .NET] UnloadAddIn

    Vitor Almeida
    Vitor Almeida
    OS: Windows 10 Application: MicroStation Connect Edition update 13 - v10.13.01.01 Language of the Application: C# .NET Framework: 4.7.2 Goal: To unload the AddIn when MicroStation Connect closes a file. Workflows to support: Workflow 1…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Crash when selecting Documents folder. Looking for missing dll.

    Mark Anderson
    Mark Anderson
    I have a menu extension that adds a menu item to the ProjectWise context menu. When the user selects the Documents folder at the top of the hierarchy ProjectWise exits. Looking that the debug of the process it is failing with a FileIOMissing File exception…
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Connect C# template for Visual Studio2013

    Dharma Rajan
    Dharma Rajan
    Hi, Microstation Connect Edition update 8(version 10.08.00.37) and SDK is installed and Visual Studio 2013 is already exist. But When I try to create a new project by using Visual Studio2013, under 'Templates' Bentley for C# is missing. How to resolve…
    • Answered
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Las file loading without converting into pod

    Daniel Christopher
    Daniel Christopher
    Hi Team, Programmatically can i load las file directly into MicroStation V8i (SELECTseries 4) Version 08.11.09.829 without converting into pod format ? Thank you, B Daniel.
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • How to get the ECProperty's Group Name?

    Rick cheng
    Rick cheng
    Hi All, I am now have a C# addin on top of Microstation EC, my addin now can read all the ECproperties from the DgnECInstance, but i can't tell the property belong to which group, when check the instance properties with Microstation we can see the…
    • Answered
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation connect ElementChangedEvent ChangeTrackKind

    Markus Hannweber
    Markus Hannweber
    Hi, I overloaded the ElementChangedEvent event and get a ChangeTrackKind value in eventargs.Change Delete = 1, Add = 2, Modify = 3, ModifyFence = 5, Mark = 7, ModelAdd = 9, ModelDelete = 10, AddXAttribute = 11, DeleteXAttribute = 12, ModifyXAttribute…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Is there a process limitation to the bentley.interop.microstationdgn?

    TMA
    TMA
    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…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: Creating a tool to rename files with versions

    steve bruton
    steve bruton
    I too am getting: Error changing document file. Version modification is not allowed. I need, from the API, to create a New VERSION of a File. Same name, just a new version and underlying file. I've calculated the NEXT version number. 'aaApi_NewDocumentVersion…
    • over 7 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • ProjectWise tool to rename file(s) using environment attributes

    Meiel Mendoza
    Meiel Mendoza
    Hello, I am wondering if I could get some help creating a tool to rename drawing file(s) (DGN or DWG) from their original file name to the following environment title block attributes or symbols: <Environment.SUBSTATION_NUMBER>_<Environment.DWG_N0>…
    • over 7 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Help with ProjectWise API access with C# aaApi_SelectDocuments

    Per Bodin - AEC AB
    Per Bodin - AEC AB
    Hi, I’m trying to utilize the aaApi_SelectDocuments to be able to find if my project already contain the file name of the file I’m about to add, but I’m having some problems implementing it. Not sure what I’m doing wrong or right :-). I’m guessing…
    • Answered
    • over 7 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [v8i vb.net] Fence.DefineFromModelPoints throws exception for incorrect parameter

    Philip Attisano
    Philip Attisano
    I moved a piece of code from VBA to VB.Net. I have encountered a problem when attempting to define a fence. I get a run time error stating that the parameter is incorrect. This code worked perfectly in VBA, but after converting to .net it fails. I'm stumped…
    • Answered
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • COM error from c# app outside VS?

    TMA
    TMA
    I have a c# app developed in visual studio 2012 that references bentley.interop.microstationdgn.dll to process dgn files. When I run the app in studio it works fine but, when I try to run it outside of studio, I get the following error: Retrieving…
    • over 8 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Api Vb.net SS2 - Can't run .dll provided with sdk sample

    Hugues Paquet-Blanchette
    Hugues Paquet-Blanchette
    Hi, i try to execute any .dll provided within sdk/PowerInRoads SS2. Unsuccessfully, i'm getting same error message: C:\Program Files (x86)\Bentley\PowerInRoads V8i\PowerInRoads\InRoadsGroup\sdk\samples\VBNetSamples\VBNetInProcess ... AddStationEquations2AlgPoints…
    • over 8 years ago
    • OpenRoads | OpenSite
    • OpenRoads | OpenSite Forum
  • Running Hammer with WaterObjects.NET

    shenh
    shenh
    Hello There, I am using WaterObjects.NET to automate Hammer for sensitivity and calibration purpose. I can open the project, get/set pipe parameters, but get stuck in running Hammer engine. My questions are: 1 Is it possible to run epanet (as show in…
    • Answered
    • over 8 years ago
    • OpenFlows | Water Infrastructure
    • OpenFlows | Water Infrastructure Forum
  • RE: Dot net application not working in multiple microstation DGN

    Manoj_Pal
    Manoj_Pal
    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…
    • Read.rar
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [v8i SS2 (08.11.07.443) C#] System.Runtime.InteropServices.COMException...

    TMA
    TMA
    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…
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: Create Blocks along center line and count points opened in micro station using Terra scan

    Manoj_Pal
    Manoj_Pal
    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
    • Extract.rar
    • over 9 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • LONG AAAPIHOOK ExecCmd( LPAACMDPARAM lpCommand ) Is not being called.

    Jean Paul Ruiz Depraz
    Jean Paul Ruiz Depraz
    Hello Bentley Community, This is my very first post and I believe it wont be the last, hope we can get along well and that I can help other members along the way. I've done a series of changes in 'docprop' sample project to learn and to customize it…
    • Answered
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum