Page 1 of 1

Display X or Y Point Center with a Text+ Tool

PostPosted: Tue Oct 25, 2016 11:23 am
by Alexandre Vaysse
Hello,

I'm trying to display the X Position of a point center using an expression in the tool Text+,
The expression : Text(PolylineStroke3.Point0)

But the result is not really what I have expected.
Result : cdata<struct Point *>: 0x7fd96acdd100

Do you know what should I do to have the X or Y position of this point ?

Thanks you ! :)

Alex

Re: Display X or Y Point Center with a Text+ Tool

PostPosted: Wed Oct 26, 2016 9:37 pm
by michael vorberg
the Center is a point data, so it has 2 components the X and the Y
to get on specific you need to call it:

Code: Select all
Text(PolylineStroke3.Point0.X)

Re: Display X or Y Point Center with a Text+ Tool

PostPosted: Fri Oct 28, 2016 7:58 am
by Alexandre Vaysse
Thank you michael vorberg :)