Browse By Tags

  • GeoWebPublisher SDK for mods and customization

    greetings, Is there any SDK for developing customs and mods in Bentley ? where can i get one of those? what tools would I need to do such things? thanks
  • 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…
  • C# Power Inroad Addin

    Hello, Below code will add a node to an existing Link at given coordinate, But not modifying the Link path. How can I rectify this issue? int utilityID = 329; SUB.UtilityEntity ent = model.GetUtility<SUB.UtilityEntity>(utilityID); if (ent != null…
  • 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…
  • Programming in Bentley Substation v8i

    Hi everyone, I'm looking to develop in Bentley Substation v8i. From my understanding, I would use the Microstation v8i SDK to do this, correct? All I think I will need to do is, based on input that I will be reading from text files, delete certain…
  • starting a new bentley map session

    I have a problem creating a new microstation object from my current session ( that i should use to perform some file operations without closing current dgn ) the problem is that i need a bentley map session ( that is, to load a specific configuration…
  • how to move dimension text location programmatically (C# / VBA)

    Hi all, I would like to adjust my dimension text location programmatically to center / left / right. For more details please refer the below snap shot. I would like to adjust the top dimension text as shown in bottom dimension text. Can any…
  • How to get the max and min (extents) points of a dgn file.

    Ola pessoal. Desculpe meu inglês, sou brasileiro. A questão é: preciso ler e obter os pontos máximo e mínimo (extensão) de um arquivo dgn. Estou usando C #, mas qualquer outro idioma. Seria algo assim no AutoCAD: DB do AcDbDatabase; Acad :: ErrorStatus…
  • 关于MS connected版本的渐变色填充

    MS ce版本开发,想对一个元素使用渐变色填充,比如使用彩虹色填充,在帮助文档中找到 AddGradientFill ( EditElementHandleR eeh, GradientSymbCR symb),这个函数,但是不知道这个函数怎么使用,关于 GradientSymbCR 的描述非常少,不知道里面的函数SetKeys()等怎么用。可否提供一段样例代码学习下?
  • Point3dInPolygonXY returns error in C#

    I am trying to determine whether or not a text element (or e shape) is placed inside a shape/complexshape. No matter what I try, I get an error. Here is the code: Point3d pText = eleText.get_Origin(); Array psShape = e.AsShapeElement.GetVertices(…
  • IChangeTrackEvents Cancel ElementChanged

    I created an addins with IChangeTrackEvents to detect the deletion of an item. Can i cancel the deletion with a question? Any ideas? Thanks Public Sub ElementChanged(AfterChange As Bentley.Interop.MicroStationDGN. Element , BeforeChange As Bentley…
  • VBA - Programming - MicroStation

    Automatic execution when opening or closing drawings Automatic Subroutine Loading Automatically generate plots with VBA Avoiding Inaccuracies in VBA Methods - .FacetSolidAsShapes for SmartSolids Bring All Text to a New Level with VBA Browsing…
  • Macro Recorder - Programming - MicroStation

    BMR files cannot be viewed in a Text Editor Run BMR when opening files Where are my newly created BMRs Stored?
  • General - Programming - MicroStation

    Basic macro does not run Can I Request a unique Linkage ID? CivTools Error message Error: Application name not signed - Application name not signed Is there a plugin to add 2D Steel Structural Section profiles? OpenDgn - Requested libraries
  • Programming - MicroStation

    General Macro Recorder MDL VBA
  • RE: Add drawings references.

    :) Thanks very much Jan Slerg. Yes the error is in that line. Set oReference = ActiveModelReference.Attachments.Add(myWS.Cells(CurRow, 2), Model, , , , , True, True) I wrote this CadInputQueue.SendKeyin "MODEL ACTIVE Model" Because, y need…
  • Add drawings references.

    Hi, everyone, I know there are similar post about this, But I cant find a Finally solution. This time I´m gona need your great knowledge about programmig. I´m triying to make a "Macro" I´ve never done one before. So I Used to reading post and them…
  • How to customize functions keys F1 - F12

    Product(s): MicroStation Version(s): CONNECT Environment: N\A Area: UI Customization Subarea: Function Keys Background It can be handy to customize the functions keys F1 to F12 to open the…
  • msdV7Action.UpgradeToV8 doesn't seem to work

    I am processing some dgn files using C# and the bentley.interop.microstationdgn library. The code where my script crashes is pretty straight forward. using BCOM = Bentley.Interop.MicroStationDGN; BCOM. ApplicationObjectConnector ustnInstance; …
  • ActiveDesignFile

    Hello, I have written some add-ins for Microstation v8i. I just switched to the newest version and now my code is not recognizing <ActiveDesignFile> as a property of <Application> I'm not sure if it is even in the same dll. Has anyone else had this…
  • Is there a bit of code that could exchange coordinates between the start point of a line and the end point? (XYZ also need to be rearranged)

    Hello everyone, I know pretty much nothing about programming for Microstation but I know it can be done. :) I have an issue with a bit of program created long back in an unknown code with instead of drawing a line at it should, shuffles the coordinates…
  • Basic macro does not run

    Product(s): MicroStation Version(s): 08.11.09.829 Environment: N\A Area: Programming Subarea: General Problem Basic macro does not run I get an error message “Illegal function call” when…
  • [V8i C#] Does it exit the API for Pointools

    Hi all! I am a new programmer to MicroStation. I would like cup 'las' or 'pod' file by software. Is-it possible to do this by Point Cloud or by MicroStation ? If Yes, where can I download the document of the API ? Thank you a lot Best Regard