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# 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…
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…
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…
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…
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…
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…
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…
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…
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(…
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…
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…
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
:)
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…
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…
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…
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;
…
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…
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…
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…
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