How to use "range"

Professor ,I have a component, I’ve made a part.I rotate Green,the Red work.
I want to know how to use" range" to limit other Links? Could you please help me? Thank youleg.vcmx|attachment (255.6 KB)

There is an add-on posted recently to help with closed systems. Others can help you better. Attached is a example of using range(a,b,c) function as defined in the Help > Expressions Reference Guide.

Test Range Function.vcmx (38.4 KB)


Thank you .I try but I still can’t solve the “red leg”. I will try to do it。

Does this help?

I will try.Thank you.