FabricationPart.AdjustEndLength
Method
Description:
Adjusts the length for the specified connector.
Adjusts the length for the specified connector.
Syntax
public double AdjustEndLength(
Connector connector,
double lengthToAdjust,
bool totalLengthOnly
)
Parameters
Parameter | Type | Description |
---|---|---|
connector | Connector | # The connector of the fabrication part to adjust length. |
lengthToAdjust | Double | The length to adjust. |
totalLengthOnly | Boolean | True if adjust the total length only when adjust length. |
Return Value
Type | Description |
---|---|
Double | The adjusted length. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The end of the fabrication part of the connector can not be adjusted. -or- Connector is connected. |
ArgumentNullException | A non-optional argument was null |