FabricationPart.OptimizeLengths
Method
Description:
Optimizes the length fabrication straight parts.
Optimizes the length fabrication straight parts.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document. |
partIds | ISet | The identifiers of the fabrication parts in a selected fabrication part run. |
Return Value
Type | Description |
---|---|
ISet | New and modified fabrication part ids in the optimize |
Exceptions
Exception | Condition |
---|---|
ArgumentException | There are no straight parts to optimize, or all parts are locked or locked by group membership. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | this operation failed. |