About This File
This Example shows, hot to have a any (complex as you want) geometry with a parametric length (available by the yards).
The Geometry was not modeled and parameterized in the script. But this is the advantage which this example shows. So take every geometry (import files etc) and just "cut" the length you need. Thats how this script works. It cuts away from a maximal part length (input as symbol) to the length you need.
You can make an own symbol and rename the symbol input of the script. The Symbol cross-section now is limited to one meter. You can edit the script and increase this if necessary.
Or look at this, with this method, you can model frame and installation plate in your script. The "fill" you can make with the method of this example script.