Retrieve the total length of a sketch as a parameter

Hello
How do I retrieve the value of the total length of a sketch generated by the " measure " function and then write it as an equation parameter?
image
Thank you

Hello

See if the sketch or curve allows you to create a path length dimension.
If possible, all you have to do is bind the dimension value to a custom property or global variable.

2 Likes

Check out this topic and the excellent macro from our subject matter expert @m_blt .
https://forum.mycad.visiativ.com/t/longueur-esquisse-3d/112535/10
On the other hand, it cannot be updated without restarting the macro.

1 Like

Thank you for your answers. It opens up avenues.
Have a nice day