Visual Basic - ActiveModelReference.AddElement - question about the global origin vs the UCS

When I use this command, the element is placed relative to the global origin.

 

How do I use this command and have it place the element in relation to the UCS?

 

Thanks

Parents
  • MicroStation VBA provides an ACSManager to provide interaction with the current ACS/UCS coordinate system. The MicroStation VBA help provides a sample of using the ACSManager titled: "Transform to and from ACS" and another example showing how to extract the origin can be found under the topic titled: "Rotating Elements", Example 5.

    A quick and accurate way to explore the VBA object model for any conceptual concepts is to use these key strokes: Alt+F11 (Open VBA Editor, F2 (Open Object browser and perform a keyword search), Click on an item of interest in the Object Browser to provide context, then click: F1 (Open help for the item of interest). Note: When using the help topics, check to see if an "Example" hyperlink is available to provide you a convenient way to jump to some sample code on a given topic.

    HTH,
    Bob



Reply
  • MicroStation VBA provides an ACSManager to provide interaction with the current ACS/UCS coordinate system. The MicroStation VBA help provides a sample of using the ACSManager titled: "Transform to and from ACS" and another example showing how to extract the origin can be found under the topic titled: "Rotating Elements", Example 5.

    A quick and accurate way to explore the VBA object model for any conceptual concepts is to use these key strokes: Alt+F11 (Open VBA Editor, F2 (Open Object browser and perform a keyword search), Click on an item of interest in the Object Browser to provide context, then click: F1 (Open help for the item of interest). Note: When using the help topics, check to see if an "Example" hyperlink is available to provide you a convenient way to jump to some sample code on a given topic.

    HTH,
    Bob



Children