Skip to main content
Hi,

 

 

I'm using the offsetcurvegenerator against a single line to create both left and right lines. But ofcourse it doesn't carry the z values. What transformers can I implement after the offsetcurvegenerator step to have the two end points of the lines match the z value of the initial line?

 

 

 can only think to break the line down, use neighbour finder as a test, then set z attribute, but feels inefficient.

 

 

Cheers,

 

 
Hi,

 

 

the OffsetCurveGenerator will propagate the attributes of the original features, so you can use a CoordinateExtractor before the OffsetCurveGenerator to get the Z-value into an attribute, which you can then re-apply after the OffsetCurveGenerator using a 3DForcer.

 

 

David
Thanks for the response. It got me in the right direction. My particular line had varying elevation at the ends of the line. So the use of 3Dinterpolator after offsetcurvegenerator was necessary.

Reply