Skip to main content
Question

Transfer values from Measures or Lists, to z-values in Coordinates?


jonas_nelson
Enthusiast
Forum|alt.badge.img+19

OK, there must be an easy way to do this, so sorry for asking. o_O;

 

 

I have 3D polylines with z-values only on the start and end node coordinates. Using the MeasureOrZvalueInterpolator I have calculated measures for the z-values for the intermediate vertices, and with the MeasureExtractor I have also turned these into a list attribute.

 

 

Now, my question is - How can I transfer these values to the z-coordinate values of my intermediate vertices, so that my lines will be in "full 3D" for all coordinates?

 

5 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • August 6, 2019

Why not use a 3d Interpolator?


jonas_nelson
Enthusiast
Forum|alt.badge.img+19
  • Author
  • Enthusiast
  • August 6, 2019
ebygomm wrote:

Why not use a 3d Interpolator?

That is - of course - a very easy way of doing it! Thanks!

 

 

But there might be other situations where I like to replace a coordinate with a value from a list, and not having them interpolated. So the question is still valid - how can i transfer values from a list to a coordinate?

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • August 6, 2019
jonas_nelson wrote:

That is - of course - a very easy way of doing it! Thanks!

 

 

But there might be other situations where I like to replace a coordinate with a value from a list, and not having them interpolated. So the question is still valid - how can i transfer values from a list to a coordinate?

I would use python but this answer might be an alternative for you

https://knowledge.safe.com/questions/74966/set-z-values.html


jonas_nelson
Enthusiast
Forum|alt.badge.img+19
  • Author
  • Enthusiast
  • August 6, 2019
ebygomm wrote:

Why not use a 3d Interpolator?

Thanks egomm, I had looked into that thread as well, but I couldn't figure how to get the values into the coordinates. For instance, what should I put as "Result attribute" and "Configuration Line"?


ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • August 6, 2019
jonas_nelson wrote:

Thanks egomm, I had looked into that thread as well, but I couldn't figure how to get the values into the coordinates. For instance, what should I put as "Result attribute" and "Configuration Line"?

You can leave them blank


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings