CurveLengthData Class

class NXOpen.GeometricUtilities.CurveLengthData

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents 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 EndDistance

Returns:End distance
Return type:NXOpen.Expression

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

ExtensionDirection

CurveLengthData.ExtensionDirection

Returns or sets the extension direction

-------------------------------------

Getter Method

Signature ExtensionDirection

Returns:CurveLength extension direction
Return type:NXOpen.GeometricUtilities.ExtensionDirection

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

-------------------------------------

Setter Method

Signature ExtensionDirection

Parameters:extensionDirection (NXOpen.GeometricUtilities.ExtensionDirection) – CurveLength extension direction

New 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 ExtensionMethod

Returns:CurveLength extension method
Return type:NXOpen.GeometricUtilities.ExtensionMethod

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

-------------------------------------

Setter Method

Signature ExtensionMethod

Parameters:extensionMethod (NXOpen.GeometricUtilities.ExtensionMethod) – CurveLength extension method

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

ExtensionSide

CurveLengthData.ExtensionSide

Returns or sets the extension side option

-------------------------------------

Getter Method

Signature ExtensionSide

Returns:CurveLength extension_side
Return type:NXOpen.GeometricUtilities.ExtensionSide

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

-------------------------------------

Setter Method

Signature ExtensionSide

Parameters:extensionSide (NXOpen.GeometricUtilities.ExtensionSide) – CurveLength both ends

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

StartDistance

CurveLengthData.StartDistance

Returns the start distance

-------------------------------------

Getter Method

Signature StartDistance

Returns:Start distance
Return type:NXOpen.Expression

New in version NX4.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

TotalLength

CurveLengthData.TotalLength

Returns the total length

-------------------------------------

Getter Method

Signature TotalLength

Returns:Total length
Return type:NXOpen.Expression

New 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.