- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is the Test-plate, a Template part file, that you don't want to save over?
Are you wanting to save each segment length of the Test-plate part off as a seperate part file, or the whole length of the part to a new part file. Do you then need the code to replace the existing Test-plate part in the Assembly, with the new part file(s)?
Is the Part always going to be divided into 5 sections, or is it 5 sections max (possible to be fewer sections)?
Perhaps in the part file, instead of creating one solid at full Conveyor Length, then patterning a plane, then creating a series of "Split" features; you could create a Rectangular Pattern of the first Solid (whose length would be set by a Parameter with a calculation), which ends up at the full Conveyor Length.
You could create a Parameter, which you would use within the Pattern Feature, as the Quantity.
This Quantity parameter ("QTY")would be an Integer, which calculates 'ConveyorLength/Max_Plate_Length', and rounds up to the next whole number.
Max_Plate_Length would remain unchanged, as a limit for the longest allowable length you would consider.
There could be another parameter ("Plate_Length"), which will be used to controll the length of each segment of the part.
This "Plate_Length" parameter would calculate ConveyorLength/QTY to make the pattern equal the exact ConveyerLength.
You would use that "Plate_Length" parameter in your initial sketch of the first Plate.
I believe this may then eliminate the need for the existing iLogic rule, which uses a long series of Select Case, and Feature.IsActive statements.
Wesley Crihfield
(Not an Autodesk Employee)