• Get snaps while using GetInput(msdCadInputTypeDataPoint)

    Eurico
    Eurico
    Hi All, This is my first go at VBA in MicroStation. I have created a little routine that calculates the slope between 2 point using CadInputQueue. The problem that I'm having is that the snaps are not active. I can use tentative snap to grab the…
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Microstation Connect VBA Batch Process Error

    Björn Eriksson
    Björn Eriksson
    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…
    • 1 month ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • VBA interface error: failed creating the comp manager - 0x80040583

    Kieran Rutter
    Kieran Rutter
    Hi All, I am running Microstation Connect Edition Version 10.17.02.61 and am having issues with a macro that was previously developed in Microsation Powerdraft v8i. I am getting an error saying VBA interface error: failed creating the comp manager…
    • Answered
    • 7 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Key-in to change Arc Angle in Cloud tool

    Leonard Jones
    Leonard Jones
    Product: MicroStation Version: CONNECT Environment: N\A Area: Base Geometry Subarea: N\A Problem Key-in to change Arc Angle in Cloud tool. From User… How can I set default revision cloud…
    • 10 months ago
    • MicroStation
    • MicroStation Wiki
  • [ Microstation Connect Update 17 vba] How to make raster Inherit GeoCS from Model parameter with PropertyHandler

    Joy van Vliet
    Joy van Vliet
    Hello everyone, I know there is a previous similar question with a few solutions from Robert Hook. I tried implementing the vba code (see below) However whenever I have a ecw file attached and I run the following code in order to make the "Inherit…
    • Answered
    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Read Solar properties from element

    Andrew Bell
    Andrew Bell
    Product: MicroStation Version: CONNECT Edition Environment: N\A Area: Visualization Subarea: Solar Study Problem How to read the solar properties from an element Solution With this VBA…
    • over 1 year ago
    • MicroStation
    • MicroStation Wiki
  • [Microstation update 17] Is it possible to run a FME script within Microstation with the help of VBA?

    Joy van Vliet
    Joy van Vliet
    I understood that VBA is to a large extent is constrained compared to the for example the C languages. So maybe I am asking the impossible. Is it possible to run let's say a FME script when you click on a button in the ribbon with help of VBA?
    • over 1 year ago
    • MicroStation
    • MicroStation Forum
  • [CE U11 VBA] "VBA Interface Error: Unable to Run Macro" occurs inconsistently.

    Robert Ramsey
    Robert Ramsey
    Hello Everyone, Looking for help to understand what the subject error actually means and what can be done to fix it. I searched and found a couple other topics on this issue, but they seem to either not be able to run their macro at all or it is some…
    • Answered
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • ORD CE - 2020 Release 2 - Update 8 (v10.08.01.33) - VBA --- How to center VBA form with multiple monitors

    Matthew Ashby
    Matthew Ashby
    This issue applies to either ORD CE - 2020 Release 2 - Update 8 (v10.08.01.33) or MicroStation CONNECT Edition Update 14 (v10.14.02.01). I have three Dell monitors. The majority of the time I run MicroStation from my middle monitor. I am struggling to…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • lock tool box in place

    Brian MacCartney
    Brian MacCartney
    Is there a way to lock a custom tool box or any tool box in its docked location and configuration, say two columns wide by how ever many rows? Using CU14.
    • over 2 years ago
    • Product Administration
    • Product Administration Forum
  • MicroStation Connect "msbatch.bat batchprocess" vba not loading

    Mark Winegar
    Mark Winegar
    in MicroStation Connect (update 11-15), how do you run a vba module from a keyin script when using the msbatch command line? I thought in V8i a keyin was required mdl load ustnvba but this is not working in MicroStation Connect. My current keyin script…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Is Shape1 inside Shape2

    John Davidson
    John Davidson
    Hi, I am writing an application (AddStageNumbers.mvba) to add Items to shapes found inside or on boundary shapes, my problem is determining if shape1 is inside shape2 the boundary shape. I have attached the mvba project for clarity and understanding…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • Performance Enhancement in MicroStation CONNECT Edition Update 14 - VBA Improvements

    Karishma Anthony
    Karishma Anthony
    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…
    • over 3 years ago
    • MicroStation
    • MicroStation Blog
  • Keyin to set Lineweight Preferences

    John Davidson
    John Davidson
    MicroStation Update 13 I am looking for a way to set Lineweight Preference to 2:1 scale in the user preferences for all our users, either a keyin or vba macro code. I have tried recording it but no result, and I have searched in the help and the communities…
    • over 3 years ago
    • MicroStation
    • MicroStation Forum
  • How to get key press event in MicroStation CONNECT using vba

    Priyanka Ravi
    Priyanka Ravi
    I need to get the key pressing count (Function key pressing count) in MicroStation CONNECT window using vba. Kindly give your suggestions.
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • IPrimitiveCommand not including Items attached to cells.

    John Davidson
    John Davidson
    I am using MicroStation CE Update 9 and want to programmatically place a cell that has an Item attached using IPrimitiveCommand using VBA, I have the macro working and placing the cells ok, but the cells when placed, do not have the Items attached, is…
    • over 5 years ago
    • MicroStation Programming
    • MicroStation Programming Forum