Length of a curve between adaptive points

Length of a curve between adaptive points

mtanyer
Advocate Advocate
412 Views
6 Replies
Message 1 of 7

Length of a curve between adaptive points

mtanyer
Advocate
Advocate

Dear all,

I have 3 adaptive points and a reference line (curve) between these.
I would like to measure the length of this curve and map to a parameter.
In the picture, although the perpendicular distance is 20 meters, the actual length of the curve is 20.3564 meters. I would like to use the actual length.

How can I do this?

Thank you.

3AdaptivePoint.jpg

mtanyer_0-1736278677381.png

 

0 Likes
413 Views
6 Replies
Replies (6)
Message 2 of 7

RDAOU
Mentor
Mentor

@mtanyer 

 

Within the family environment, it is only possible by defining the curve length using a trigonometric equation and using a shared parameter. Unless you are modeling it in-place (in the model)

 

If the above is not possible then another solution would be to use dynamo after you place it in the model to get curve length and write to a parameter in the family

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 3 of 7

ToanDN
Consultant
Consultant

Try this approach:

https://haynearchitects.com/tips-tricks-spline-length-in-revit/

 

Sample 2024 family attached.

0 Likes
Message 4 of 7

RDAOU
Mentor
Mentor

@ToanDN 

 

I do not have 2024 and I am curious..does that not require the splines to be in an in-place mass? I might be mistaken but I do not think the min & max length of the divided path segments carry over with the family to the project environment

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 5 of 7

ToanDN
Consultant
Consultant

@RDAOU you are right.  The family does not work in projects.

0 Likes
Message 6 of 7

ToanDN
Consultant
Consultant

Without Dynamo, you could create a form with known profile (1" x 1" for instance) and the sweep spline.  Then create a generic models schedule or a material take off schedule in the project, create a calculated value parameter to get the path length = Volume / profile area.

 

ToanDN_0-1736464509498.png

 

ToanDN_1-1736464566343.png

 

 

0 Likes
Message 7 of 7

mtanyer
Advocate
Advocate

Dear all,

I try to implement your suggestions. Let me summarize what I have:
I have a family that is based on 2 adaptive points. I try to insert this family onto a curve on the project side. I know the points on the curve.

 

1.jpg

However, the distance between the points (segment length) are slightly different from the chord length.

 

As you have suggested, I have converted my reference line to a "divided path" and the features are as follows. The "distance" parameter is mapped to the "SegmentLength" parameter.

Unfortunately, the family cannot be created properly on the project side. How do I measure the actual length between 2 adaptive points?

 

2.jpg

 

0 Likes