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
Hi Manslick,
did you study Transform to and from ACS example mentioned by Bob?
In VBA API, methods like AddElement always work with global coordinate system and they are not aware of ACSManager setting. If you want to create an element in ACS coordinates, you have to converts its coordinates into global system before AddElement methods is used. This is your responsibility, how to do it is demonstrated at the mentioned example.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Unknown said:I was not able to see the examples. For unknown reasons those links do not work on my system.
It's weird, examples are inseparable parts of MicroStation VBA help. So if you have the help file, you also have all examples. And at least you have to see the example in the list of examples.
Don't you open the help file from network folder? In such case .chm content is blocked by default.
I don' know Jan, I click on Example and nothing happens.
I get to the help files as Bob wrote above. F2 in the VBA editor takes me to the Object Browser and F1 opens this screen, but I can go no farther.
Unknown said:I click on Example and nothing happens.
And you did not try any other way how to find the example? To search for it using help search function or to try to find the example in Content tab, chapter Examples?
Regards,
Unknown said:Those links do not work on my system
It's not clear which links you mean. If you mean the examples provided in VBA help (see Jan's answer below) then there might be a problem with an HTML help (.chm) document stored on a server.
Read this article to see why a help document may not display if you open it from a network server.
Regards, Jon Summers LA Solutions