04-10-2020
09:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-10-2020
09:16 AM
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 lengthsThis 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.