Browse By Tags

  • Microstation Connect VBA Batch Process Error

    Hi, Been coding in VBA for a couple of years, and know I have a new problem I have never seen before. I have a VBA-tool to scan a model and print file/object information to Excel. All works fine, but when I run my code with Batch process to loop several…
  • [MSTN CE U16 VBA] Read excel file from ProjectWise?

    Hi Everyone, I created a vba script that reads the values of an excel spreadsheet, it works pretty well and the spreadsheet is saved on my local drive. My question is we are working in ProjectWise and what I would like to do is save the spreadsheet…
  • Data Template Excel Macros

    If you see this PROTECTED VIEW message, please click on Enable Editing . LEGION Data template needs Excel macros. For Data template from LEGION 2023 version. To enable macros, please change macro settings in the Trust Center. Click the File…
  • Excel VBA to Modify Microstation DGN

    Hello, I am pretty new to using Excel VBA to modify microstation file. My goal is using the cell values in excel to update tag sets and turn on/off layers, and purge certain empty tags (in different tag sets and under different layers). I assume…
  • RAM DA - GetDesignMoments for lateral beams?

    I am trying to pull ultimate factored moments for all beams in a project to a spreadsheet via RAM DA and VBA, but the IGravitySteel1.GetBeamDesignMoments is not working for lateral beams. What is the easiest way to pull lateral beam info similar to the…
  • 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
  • V8i PowerDraft SS4 VBA - Calling Print Organizer, opening PSETs error handling?

    Hi Guys, I'm using Excel VBA to call Microstation and then from a list of directories open .pset files (previously created manually) contained within each directory. The intention is to open each pset, print to PDF and move onto the next PSET until…
  • Pasting OLE Excel table into Microstation with VBA

    Hi, I have been using a VBA script run from Excel which formats tables, creates dgn files from the list and and then pastes those tables as embedded objects into new dgn drawing. I had to use the self closing popup as a divided between copy in Excel…
  • missing "OpenSTAADUI.tlb" library file

    Hello ... I've just installed "STAAD.Pro Advanced CONNECT Edition - Version 21.03.00.146" on my workstation and now I can't find the "OpenSTAADUI.tlb" library to run the Excel VBA macros !! ... please advise asap with thanks
  • Running VBA with Geopak

    I am creating an application in Microsoft Excel (2016) that will open a Power Geopak V8i (8.11.9.878) drainage project file (.gdf) and extract data from it. I have referenced both the Microstation and Geopak VBA references in my Excel project. It is my…
  • Running VBA with Geopak

    I am creating an application in Microsoft Excel (2016) that will open a Power Geopak V8i (8.11.9.878) drainage project file (.gdf) and extract data from it. I have referenced both the Microstation and Geopak VBA references in my Excel project. It is my…
  • MErge References from Excel Vba

    greetings. I Need one suggestion/ Help . i Have Few hundred microstation dgn files which are having only title blocks at one folder in Drive. Each Dgn file has multiple reference attached to it. all reference files are some Drawings. at a time only…
  • Tittle Block Modification

    I have many DGN drawings. I want update tittle block on each drawing to edit on text according to excel file.
  • openSTAAD - getting started

    Hi, I am trying to get started with openSTAAD.I have tried in excel and the built in editor in STAAD.I get an error when trying to instantiate the open staad library. I have Staad open to a new file. I have tried the flowing code in VBA for Excel…
  • [CONNECT] Problem creating design file (Excel VBA)

    Hi all, Recently updated my SelectSeries4 to CONNECT and I am having issues creating a design file using the following code Sub Test() Dim o As MicroStationDGN.Application Dim oAL As ApplicationObjectConnector Dim myDGN As DesignFile Set oAL…
  • [v8i SelectSeries 4] Creating complex chain around outer coordinates of a shape

    Hi all, I'm looking at creating a complex chain/line element around the most outer edges of the shape I've attached below. My macro is written in excel VBA What commands should I be looking at to achieve this? I'm having a bit of difficulty because…
  • [v8i SelectSeries 4] Convert to BsplineCurveElement

    Hi all, I'm new to microstation VBA coding and would like everyones input on my problem. My VBA code in Excel does the following 1. Opens and creates a microstation DGN file named "DrawPoints" 2. Iterates through coordinate values in excel sheet and…
  • Draw perpendicular line from nearest located element to a known point

    Hi all, I want to write a VBA macro which will allow me to draw a perpendicular line from the nearest located element (located from the known point) to a known point. Illustration below Here are my questions 1. How do I locate the nearest element…
  • Create Conic Curve Element?

    Hi all, I'm new to VBA coding in Microstation and currently trying to create a parabola in microstation based on an array of coordinates in excel. The coordinates reflect the Conic Curve (Parabola) tool in Microstation taking the start, end and shoulder…
  • What does "*" in front of parameter mean in RAM Data Access Developer Guide?

    I was trying to use Data Access Com in EXCEL VBA to get member forces in Columns. I was trying to get AnalysisCaseIDs for IForces.GetMemberForces, so I called IForces.GetAnalysisCasesIDArray and the EXCEL keep crashing. I looked up the function in the…
  • [V8i VBA] Excel Object Library

    Hello I am writing a macro in Microstation that uses a lot of Excel VBA. It works fine on my machine, but whenever someone else tests it with different library present we obviously got crashes. Question is: is there a way (in code) to attach the…
  • OpenSTAAD | GetBeamList command is not working

    Greetings STAAD fans, I am developing a VBA to the get the list of beams and after a couple of tries I have notice that the OpenSTAAD | GetBeamList command is not working. Any suggestions? See the following VBA Macro Sub GetBeamList() On Error…
  • Using VBA and Excel to open a .dgn

    I have some VBA code in an Excel spreadsheet where I am trying to open a dgn in order to do some editing: Dim oMSApp As MicroStationDGN.Application Dim myDGN As DesignFile Dim myFSO As New Scripting.FileSystemObject Dim myFile As Scripting.File …
  • Excel VBA to Generate Joint Coordinates and Member Incidences for STAAD Text Editor using Building Dimensions As User Input

    Hi, Is there anyone who knows how to develop an Excel Spreadsheet that asks for building dimensions (geometry); and translate these dimensions into joint coordinates, and possibly member incidences to copy them over to STAAD Editor. The number of joints…