Browse By Tags

  • Get snaps while using GetInput(msdCadInputTypeDataPoint)

    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…
  • 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…
  • VBA interface error: failed creating the comp manager - 0x80040583

    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…
  • Key-in to change Arc Angle in Cloud tool

    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…
  • [ Microstation Connect Update 17 vba] How to make raster Inherit GeoCS from Model parameter with PropertyHandler

    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…
  • Read Solar properties from element

    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…
  • [Microstation update 17] Is it possible to run a FME script within Microstation with the help of VBA?

    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?
  • [CE U11 VBA] "VBA Interface Error: Unable to Run Macro" occurs inconsistently.

    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…
  • ORD CE - 2020 Release 2 - Update 8 (v10.08.01.33) - VBA --- How to center VBA form with multiple monitors

    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…
  • lock tool box in place

    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.
  • MicroStation Connect "msbatch.bat batchprocess" vba not loading

    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…
  • Is Shape1 inside Shape2

    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…
  • 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…
  • Keyin to set Lineweight Preferences

    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…
  • 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.
  • IPrimitiveCommand not including Items attached to cells.

    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…