Hi,
I would like to find an expression that I can use in the calculated properties of a definition. I want to return the coordinates of the associated item. In this case its lights that I want the coordinates for. It would certainly save me a huge amount of time automating this.
HIAATDC said:I want to return the coordinates of the associated item
The coordinates of an element are properties of that element. You can use an element property in an Item Type expression using something like this...
this.Element().Origin.X
Thanks to Mangesh.Shelar for correcting me!
this.GetElement().Origin.X
(you'll need to experiment)
Regards, Jon Summers LA Solutions
Instead of Element(), please use GetElement(). e.g. this.GetElement().Origin.X. If you are using CE U15, please try "Expression Builder". It's a public tech preview feature in U15.