Jump to content
Özgür

Length of a path between two points on a polyline

Recommended Posts

Hi everyone,

 

I would like to calculate the length of a path between two points (not necessarily vertexes) on a polyline.

 

Does anyone have an idea how can I manage this using marionette?

 

Thanks!

 

image.thumb.png.a91d54e70844e3215c3605e1cfcd0c47.png

 

Share this post


Link to post

I don't think there is a basic way to do this using Marionette. In Vectorscript there is a Function PointAlongPoly that will give you the distance along the line of each point and then you can just do a subtraction.

 

You could probably write your own node that would do this in Marionette.

 

How are you planning to define the two points in your Marionette?

Share this post


Link to post

Hi Pat,

 

Thanks for your answer. I will check the PointAlongPoly function in Vectorscripts. 

 

I define points' location by Get Closest Point on Geometry (closest points on the polyline to other two symbols).

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...