Browse By Tags

  • 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…
  • Developing CulvertMaster tool

    I have been tasked with developing a tool to automate determining the flow a number of pipes can handle in Bentley CulvertMaster, preferably in Python, but I could work with another language if necessary. Is there a python package or a specific SDK that…
  • Function Node parameter input options - Custom GC nodes

    Hi all, Just wondering if there are any other users creating custom GC nodes? I need some help implementing the following in a 'Function' type node: OpenFileDialog for Node input parameter - to select a file Drop-down list for Node input parameter…
  • [CONNECT C#] Managed Equivalents for older COM Interop Calls

    Hallo, I am converting existing add-ins that were written in C# using the COM Interop on V8i SS4 to the new CONNECT NET API and I would like to get rid of any remaining calls to the COM Interface where possible. To achieve that goal, I need to find…
  • UtilityNode - creating a custom node to modify existing Feature properties

    Hi All, I'm hoping someone might be able to help me on the remaining piece to the puzzle. What I have built so far is a custom node as a PropertyHandler to extend the abilities of GC. The first 'node technique' reads all the available access strings…
  • Creating new work area attributes using PW SDK

    I'm having some difficulty creating new work area attributes using the SDK (aaOApi_CreateAndInitializeAttribute), specifically assigning the control type i.e. none, pick list or select: using the following function the attribute is created but it…
  • Why can I not see the SDK download?

    Is it something that you have to pay extra for? I am on connect update 13
  • How to Set Project Default Preview Pane View

    The API contains a function aaApi_GetProjectDefaultPreviewPaneView function which we intend to use to obtain the view ID from the Parent Project when adding a new sub-folder under it (sub-Project?... trying not to be confusing here - no idea why what…
  • C# Attachment GlobalLinestyle property Enumerator values not in-sync with the UI property dropdown?

    C# Windows 8.1 AECOSim Connect Update 1 Below is a method we wrote to set attachment global linestyle properties. public static void setAllAttachmentsToRefByReference() { Attachments myAtts; myAtts = app.ActiveModelReference.Attachments; foreach…
  • From V8i to Connect with KISolid functions

    Hello, we are in the process of migrating from v8i to Connect SDK. We have many dlls and we need a little help to find some references that are probably relocated, or new ways to do the things we used to do through the old SDK. Lately we had been…
  • Create BSpline Surface in C#

    Hi, I have 2 cross section profiles of a train (front and back of the vehicle) in BSpline curve format and would like to join them together and create a BSpline Surface element in my C# microstation addin. I have tried to do this using the BSpline Surface…
  • Drape Polygons on to ASCII Grid - Using C# for Microstation V8i SS3

    Hi Team, Application : Microstation V8i SS3 Development : Visual Studio 2005 Inputs Client provided 2D Building footprints (Shapes) dgn along with respective DTM ASCII Grid File. Requirement Retrieve the minimum height of all vertices…
  • Learning about XFT Move Operation in Map

    HI all! I need to know how use the move operation in Bentley Map. Actually, in C# i write this code: Bentley.Interop.Xft.MoveOp op = new Bentley.Interop.Xft.MoveOp(); Bentley.Interop.Xft.CmdMgrClass mgr = new Bentley.Interop.Xft.CmdMgrClass…
  • Do I need ProjectWise client to connect my C# application to ProjectWise Web Server

    Hello, I am new to ProjectWise programming and currently trying to have an existing C# based application connect to and communicate with ProjectWise Web Server (V8i). For now, the app extension will need to log in to the Web Server, read documents…
  • 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…
  • Stream a text file from ProjectWise

    Is it possible to stream a text file from ProjectWise? I noticed the DocFetchFlag "AADMS_DOCFETCH_STREAM_SUPPORTED" I want to pass the streamed contents to a WinForm textbox which acts as a preview pane. Cheers
  • Re: can a program in Matlab call external program WaterGEMS

    Hello, I received your private message and answering your questions here so that others can benefit. What is WaterObjects.NET API? API is Application Programming Interface. In simple terms, it’s a way to communicate with the software or to its…
  • 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…
  • Using ProjectWise Web Services to index a file

    I'm trying to use the PWWS interface to upload files into the repository. The documentation indicates that this can be done via a POST; however, it also says that the post must use a multi-part form content type. The .NET WebClient implementation doesn…
  • [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#] 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#] 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…
  • [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…
  • Re: Solar vector

    Thanks for that! I was going to wrap the sun on/off into a solarToggle function, and the setup into a solarSetup function so that there is a fairly fine level of control. With this code: /// <summary>Returns a point defined by the current solar…
  • 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…