Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
J-Camper
in reply to: SleikerBF

I've done something similar to what your asking:

'Forces length of component to fall between avalible lengths
If DESIRED_L > MIN_L And DESIRED_L < MAX_L
	LENGTH = DESIRED_L
Else If DESIRED_L < MIN_L
	LENGTH = MIN_L
Else If DESIRED_L > MAX_L
	LENGTH = MAX_L
End If
'Forces length of component to fall between avalible lengths

This sample is based on a group of Parameters, but some of the variables [like MAX_L & MIN_L] could be coded into the rule instead.  The user changes "DESIRED_L" but the model sketch is based on "LENGTH".

 

You can do a similar thing with the bottom rung and then the quantity & spacing of the subsequent rungs.

 

For the subsequent rungs I would use a array along the axis of the ladder pitch, to easily control quantity and spacing without modifying sketches. 

 

If you want more help, I have a simple ladder I made recently that I could write a similar rule to control and share that.  Just let me know.