Browse By Tags

  • [CONNECT/(V8i); VBA/C#] Using C# DLLs in a VBA-Project

    Hello, I have a question. Is it possible to make a C# DLL usable in a VBA project and if yes, how? We already tried with the following Link: https://www.geeksengine.com/article/create-dll.html But in that example you have to move a file in to…
  • Create smartsolidelement by mvba

    it's run ok before,but now has problem as below.
  • Performance Enhancement in MicroStation CONNECT Edition Update 14 - VBA Improvements

    MicroStation implements Microsoft's Visual Basic for Applications (VBA). MicroStation VBA has extensions to VBA that allow interaction to the design file elements and settings, thus making it easy for users to navigate within MicroStation. In this blog…
  • VBA Macro "FENCE FILE" Does not working properly

    Hi, I'm using this forum a lot to answers my doubts with old posts (thank you a lot), however I don't found nothing about it. I'm creating a macro to create a new .dgn file using Fence File (part of drawing that I need). For do it manually is working…
  • Need Custom Traversing/Cogo MicroStation Tool

    I need to find or develop a custom tool that a MicroStation user can use to draw consecutive lines and tangent and nontangent curves easily. Accu draw is to cumbersome because you have to move from field to field, use your mouse to indicate direction…
  • How to get key press event in MicroStation CONNECT using vba

    I need to get the key pressing count (Function key pressing count) in MicroStation CONNECT window using vba. Kindly give your suggestions.
  • SmartSolid Union Runtime Error -9078

    I'm applying a Smart Solid Union to a series of cone elements with increasing lengths that fan out from a common point. As the smart solid cone faces become somewhat parallel i get a Runtime error -2147212426 (80042376) msdError -9078. When manually…
  • Key-In commands with configuration variables to a specific folders in projectwise

    in MicroStation V8i SS10 or Connect update 13 I am trying to run a keyin to publish the packaged imodel (.i.dgn) to a specific folder in ProjectWise utilizing configuration variables. I can hard path the ProjectWise location but can this be done by…
  • Listing Elements ID from .dgn file [V8i (SELECTseries 2)]

    Hi All, I need to find how can I list all of elements IDs from the .dgn file from Microstation. I prefer to use some macro in VBA, but I don't have any idea how to write it. Can you help me? I also find a KEY-IN command - ELEMENT LIST which should generate…
  • CONNECT Update 12 VBA: duplicate dimensionstyles after ActiveSettings.DimensionStyle =

    This is my first mVBA in Microstation CONNECT update 12 (version 10.12.00.40) and my first post in this forum. The purpose of the mVBA is to make it easier to select a dimensionstyle. The user selects parameters like the textpurpose, texttype and…
  • Cannot change Working Units Labels using MVBA

    I am planning to convert files from International Feet to U.S. Survey feet using a simple VBA macro. I can change the Working Units and Storage Units with no problem: CadInputQueue.SendKeyin ("set units ""US Survey Feet"" ""US Survey Inches"" ") CadInputQueue…
  • Inserting the value of a variable into the pdf filename using Named Expression

    Product: MicroStation Version: V8i, CONNECT Environment: N\A Area: Printing Subarea: Driver/PDF Problem: A MVBA is searching for a certain Tag in the design file. The value (in this case 05…
  • Bulk fillet linestring via script file or VBA

    I am working on viaduct post tensioning & have managed to plot a 3D smart line for the tendons (~700 done automatically) but I am now trying to add fillets to them via a macro or VBA to bulk fillet each line based on a dynamic radius. For example end…
  • [Microstation V8i] Return Y-Values of Complex Chain at Discrete X-Value Locations

    Hi All, I'm trying to return Y-values of a complex chain at given X-value locations (likely 10 to 20 points) for processing. Obviously this complex chain can be made up of lines, arcs etc.so pure geometry is out of the question. Is there a simple…
  • How to find the linear element direction using Microstation VBA 2004 Edition?

    I cannot find the direction difference between two same linear elements. The first element start point and second element endpoint are the same vice-versa. Here I have attached the example screenshot. Kindly check it.
  • [CONNECT Update 10 MDL] - Need help migrating MDL to connect edition, its not working

    Hello Everyone, Our organisation have just upgraded our MicroStation v8i SS3 to MicroStation Connect edition version 10.10.00.23. I am having trouble with my v8i MDL apps since its not working in my connect edition. I am not a programmer and although…
  • GEOPAK SS2 08.11.07.615 VBA macros not working

    I'm running GEOPAK SS2 (version number in subject line). I got a new computer running Windows 10 a couple months ago, and ever since then I've been unable to run any VBA macros in either GEOPAK or vanilla MicroStation. Our local DOT (Tennessee) also has…
  • How to use the timer in MicroStation CONNECT Edition?

    i am add Timer in form in Additional Controls... the timer event in MicroStation v8 using VBATimer.ocx file. but it is not display MicroStation CONNECT Edition SnapShot is attached in below link /resized-image/__size/143x85/__key/communityserver…
  • Ausgabe der Nutzungen aller Ebenen in eine Textdatei

    Bezieht sich auf Produkt(e): MicroStation Version(en): V8i, CONNECT Edition Umgebung: Windows 7, 8, 8.1, 10 Produktbereich: Programmierung Produktunterbereich: VBA Ursprünglicher…
  • Offset Line Element using Offset method of BsplineCurve object, accurately

    Hi, I want to offset a Line Element on both sides using Offset method of BsplineCurve, I have written code, which first convert Line to BsplineCurve and do offset, I want Offset BsplineCurve convert back to Line element, I am not getting accurate points…
  • Batch convert dgn file to svg file in Microstation

    Any option to batch convert .dgn file to .svg(Scalable Vector Graphics) file from command line in Microstation? I want convert only 2d .dgn file to .svg file from command line, and this .dgn file will be civil plan, or mechanical 2d dgn or civil sections…
  • Makros funktionieren seit Update auf Office 2016 nicht mehr

    Produkt(e): MicroStation Version(en): V8 und V8i Umgebung: N\A Produktbereich: Programmierung Produktunterbereich: VBA Problem Seit office auf 2016 aktualisiert worden ist, funktionieren die…
  • Call aaapi_initialize return BadImageFormatException in c# using wrapper

    Using C# (in Visual Studio 2017), I am writing a class with a function LoginServer() that calls the ProjectWise API to login, and ready to make further action upon users' request. This dll will be deployed to MicroStation as a toolbar plugin. I'm…
  • How can I create a macro for placing solid sphere at active point (set by user) at varying co-ordinates?

    As shown in the image there are various active points. I want to create a macro to place a solid sphere of diameter entered by user at various co-ordinates which is variable. I am getting a code like this as shown below in mvba for active points at…
  • Comment migrer les macros MicroStation Basic vers MircroStation CONNECT Edition ?

    Produit(s): MicroStation Version(s): N\A Environnent: N\A Domaine: Programmation Sous-Domaine: N\A Question Comment migrer les macros MicroStation Basic vers la nouvelle version ? Réponse…