CurveLengthData Class¶
-
class
NXOpen.GeometricUtilities.CurveLengthData¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents an CurveLength data.
New in version NX4.0.0.
Properties¶
| Property | Description |
|---|---|
| EndDistance | Returns the end distance |
| ExtensionDirection | Returns or sets the extension direction |
| ExtensionMethod | Returns or sets the total or incremental extension method |
| ExtensionSide | Returns or sets the extension side option |
| StartDistance | Returns the start distance |
| Tag | Returns the Tag for this object. |
| TotalLength | Returns the total length |
Methods¶
| Method | Description |
|---|---|
| SetEndDistance | Set end distance |
| SetStartDistance | Set start distance |
| SetTotalLength | Set total length |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
EndDistance¶
-
CurveLengthData.EndDistance¶ Returns the end distance
-------------------------------------Getter Method
Signature
EndDistanceReturns: End distance Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ExtensionDirection¶
-
CurveLengthData.ExtensionDirection¶ Returns or sets the extension direction
-------------------------------------Getter Method
Signature
ExtensionDirectionReturns: CurveLength extension direction Return type: NXOpen.GeometricUtilities.ExtensionDirectionNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
ExtensionDirectionParameters: extensionDirection ( NXOpen.GeometricUtilities.ExtensionDirection) – CurveLength extension directionNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ExtensionMethod¶
-
CurveLengthData.ExtensionMethod¶ Returns or sets the total or incremental extension method
-------------------------------------Getter Method
Signature
ExtensionMethodReturns: CurveLength extension method Return type: NXOpen.GeometricUtilities.ExtensionMethodNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
ExtensionMethodParameters: extensionMethod ( NXOpen.GeometricUtilities.ExtensionMethod) – CurveLength extension methodNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ExtensionSide¶
-
CurveLengthData.ExtensionSide¶ Returns or sets the extension side option
-------------------------------------Getter Method
Signature
ExtensionSideReturns: CurveLength extension_side Return type: NXOpen.GeometricUtilities.ExtensionSideNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------Setter Method
Signature
ExtensionSideParameters: extensionSide ( NXOpen.GeometricUtilities.ExtensionSide) – CurveLength both endsNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
StartDistance¶
-
CurveLengthData.StartDistance¶ Returns the start distance
-------------------------------------Getter Method
Signature
StartDistanceReturns: Start distance Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
TotalLength¶
-
CurveLengthData.TotalLength¶ Returns the total length
-------------------------------------Getter Method
Signature
TotalLengthReturns: Total length Return type: NXOpen.ExpressionNew in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
SetEndDistance¶
-
CurveLengthData.SetEndDistance¶ Set end distance
Signature
SetEndDistance(endDistance)Parameters: endDistance (str) – End distance New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetStartDistance¶
-
CurveLengthData.SetStartDistance¶ Set start distance
Signature
SetStartDistance(startDistance)Parameters: startDistance (str) – Start distance New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetTotalLength¶
-
CurveLengthData.SetTotalLength¶ Set total length
Signature
SetTotalLength(totalLength)Parameters: totalLength (str) – Total Length New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Validate¶
-
CurveLengthData.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.