Labeling Multi-Segment Feature Lines

Thank you very much for your work on Camber!
I’m a cad tech with little programming experience but I’ve been able to hack together some useful scripts. Reading the description of the GeneralSegmentLabel.ByObject it sounds like it is capable of labeling multi-segment feature lines. I’m assuming it can add a label at the midpoint of each segment but am failing to understand how to set it up or implement a ratio range of [0,n]. Currently my script only creates one label per feature line. Any pointers would be greatly appreciated.


Hi @dlarson,

You’ll just need a short expression to generate the list of ratio values. Something like this should work:

The result:


Thank you very much! This will save a lot of time when grading.
I attached the script in case it helps someone else.

1 Like

6 posts were merged into an existing topic: Camber Feedback Thread