So OpenRoads uses fallowing expression to get X Y and Z coordinates. And when used in text favorites you choose X or Y or Z or all together from a dropdown but it doesn't change the syntax from this.GetElement().Origin - My question is how do I specify a separate X and Y and Z for in this case a cell from an item types table excel macro. And for a mesh element is there a way to check first and last handle/ point origin/coordinates.
Update. I just realized that I need somehow separate this.GetElement().RangeLow coordinates. Plus it displays the coordinates without the separator
Hi Reinis, I wouldn't use Range as it can be quite inaccurate in a lot of circumstances.
Try:
this.GetElement().Origin.X
this.GetElement().Origin.Y
this.GetElement().Origin.Z
If you need to use RangeLow, using .X,.Y and .Z should technically work as well although I haven't tested it.
Regards,
Mark
OpenRoads Designer 2023 | Microstation 2023.2 | ProjectWise 2023
Answer Verified By: Reinis Labans
God bless you! It works with Range as well. I'm using this for Meshed elements like Sign posts, Lighting elements, signaling posts etc. that's why Range low is the best I've come up with right now.