Skip to main content

Hi,

i have ca. 13000 lines (always two vertex) and i need to write the coordinates into an attribute.

I know i can use the Feature Function @XValue and @YValue and the list value 0 for the first point and 1 for the last point but I cannot find the right syntax...can someone make an example for me please?

Like....

@XValue(<0>) ?

@Xvalue().0?

Thank you,

Davide

I'd just use two coordinate extractors for this scenario


I'd just use two coordinate extractors for this scenario

Ohhh...ok that should do the trick. I'm just really upset at myself cause i know there is a way to define the coordinate index in the @XValue f.e. in the AttributeManager but I can't remember how to do it...

Thanks


Ohhh...ok that should do the trick. I'm just really upset at myself cause i know there is a way to define the coordinate index in the @XValue f.e. in the AttributeManager but I can't remember how to do it...

Thanks

The help doesn't indicate this is possible

"When used as an attribute value function, @XValue returns the value of the first x coordinate of the feature."

The feature function @Xvalue does something slightly different.

Perhaps you were thinking of this syntax (*Needs to be in the arithmetic editor not text editor). @Coordinate doesn't appear in the list of functions anymore but it still works


Reply