• AECOsim Connect/ Change Extents in Saved Views

    Hello everybody, I have problems with changing property "Extents" in such element as "Saved View". First I create Saved View with certain Extents, using this code Dim wPt As Point3d wPt.x = aX wPt.y = aY wPt.z = aZ ActiveDesignFile.Views(2).Extents…
  • Getallsolids method vba doesn't work

    Hello. Why this method doesn't work? By this way the similar method GetAllLinearMembers from the same library works perfect. Sub stf() Dim mylist2 As STFSolidList Set mylist2 = New STFSolidList Set mylist2 = STFApplication.GetAllSolids(ActiveModelReference…
  • VBA SetValue method for PropertyHandler in AECOsim BD

    [AECOsim V8i SELECTseries 6 VBA] [ AECOsim CONNECT VBA] Hello everyone, To continue previous discussion ( .../programming/microstation_programming/f/microstation-programming---forum/184516/vba-propertyhandler-setvalue-method ) with new question…
  • STFLinearmember to datagroup name: Beams: Steel

    Hello everyone! I use ABD V8I. And i can model a lot of beams using STFLineraMember from STFCom library. Using this code below. Function CreateAMember(a As Long, b As Long, c As Long, d As Long, e As Long, f As Long, ang As Long, mySectionName As String…
  • Send Element information of selected objects to Excel, using VBA.

    Hello! I need to send Element information of selected objects (coordinates Start and End points) to the sertain List of Excel. How can I do it using VBA? Many thanks to all for your ideas! Artem
  • Vba saved view

    Hello, everyone I need to create views using vba. Is it possible? How i do it now: - i make "clip volume" - open saved views - use button "create views" Could you write example of code.
  • Modeling slab using VBA in ABD

    Hi everyone. I tryed to find any similar question, but it doesnt succes. I cad model any section in ABD Connect Edition using VBA and STF library (AECOSimBuildingDesigner Structural 9.1 Library). The code uder helps model sections Function…
  • AECOsim element types/names in VBA

    Hello I am trying to make a vba-code to create a simple structural elements ( beam , column etc) in AECOsim. But i cant find in vba help files the list of element names and functions to use in that case. I found examples for lines and shapes:…
  • Change properties of element using VBA

    Hi, everyone! Is it posssiple change steel beam's geometry properties(rotation x,y,z) using VBA? it doesnt matter befor or after placing element
  • AECOsim SS6 crashing on startup

    Hi, We are currently experiencing problems with AECOsim SS6 crashing on startup. When opening AECOsim it crashes straight away and exits. See error messages below. Any idea why this is happening? This seems to be coincidental with installing the…
  • How to change Catalog instance of a door while placing Programmatically

    Hello everyone, I'm trying to automate the doors placing in my company workflow, but I have a problem with changing the catalog instance of a door while placing, I think that the solution would be using SetCExpressionValue but I don't know the variable…
  • Macro to change cell in the Annotation tool settings

    For example walls we use 4 different cells for the littera ( Item Type ). Up, Down, Right, Left To save a lot of time i would like to make macros to choose them. I tried to record but it stops after open the "Annotation tool settings" dialog. How…
  • RE: Error message appear when the AECOSim file opens

    We have seen this error during installation of AECOsim Building Designer on Windows 10, please see the advice in this article: Class not Registered Error on Windows 10. Further suggestions can be found in AECOsim Building Designer - VBA Errors on S…
  • VBA errors at startup- AECOsim Building Designer V8i Ss5

    I have installed ABD Ss5 in a new laptop with Windows 8.1 and the following 4 error messages appear at every start of any project. Once the program is open, the alert message at the bottom of the screen reads "Can't execute VBA module" and "The VBS…
  • Select and zoom the elements

    Hi All, I want to zoom the first element which is in the Level Number "3". Below is my code Private Sub GettingElement() On Error Resume Next Dim elem As Element Dim ElemEnum As ElementEnumerator Dim elemScanCriteria As ElementScanCriteria Dim rng…
  • How to remove all spot height cells and annotation

    Hi everybody, I am new to Microstation and VBA. Can someone help me how I can remove all the spot height cells and texts (annotation) in the dgn file. For example. Spot Height Text# level Number 8013(Level Name: Spot Elevation) and 4 (Level Name: Grid…
  • Editing Datagroup properties with VBA

    HAving re-registered the AutomationInstanceData.dll file I can now read all my datagroup properties for each element in a file. but this is a read only function. How can I change the value of a datagroup property using VBA ? e.g I want to…
  • FreeForm Splitting VBA Macro Crashing on TFFormRecipe.Synchronize

    Hello, I'm trying to make a VBA macro to divide a FreeForm object to several FreeForms containing the same Family, Part, Symbology and Opening Features (i.e. dividing a FreeForm slab into several slabs). The idea is to select a bunch of 2D shapes along…
  • building a Bentley Architecture floor master file from a schedule

    I would like to be able to build a floor master file from as schedule of buildings with their floor heights. Are there any availble vba ( or mdl) objects that support this. Any ideas?
  • VBA Custom Structural Drawing Labels

    I added a new Structural wiki article ( VBA Custom Structural Drawing Labels) on the use of VBA to create custom drawing labels. It is not hard to do and it can greatly extend your ability to customize your annotation. Steve