VectorDistanceMoveBuilder Class

class NXOpen.CAM.VectorDistanceMoveBuilder

Bases: NXOpen.CAM.MoveBuilder

Represents the Vector Distance Move Builder

To create a new instance of this class, use NXOpen.CAM.MoveCollection.CreateVectorDistanceMoveBuilder()

New in version NX5.0.0.

Properties

Property Description
Distance Returns or sets the Distance
EndPoint Returns or sets the end point in the direction specified
FeedRate Returns or sets the feed rate
FeedType Returns or sets the feed type
FeedUnit Returns or sets the feed unit
MotionType Returns or sets the motion type
MoveEnd Returns or sets the move end type
NumberOfUserParameters Returns the number of user parameters
ProtectedMove Returns or sets the protected move status
SubopLabel Returns or sets the subop label
Tag Returns the Tag for this object.
Vector Returns or sets the Vector

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
GetUserParameter Returns the custom parameter with the given name.
SetParent Set parent
SetSibling Set sibling
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

Distance

VectorDistanceMoveBuilder.Distance

Returns or sets the Distance

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

Getter Method

Signature Distance

Returns:
Return type:float

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature Distance

Parameters:dist (float) –

New in version NX5.0.0.

License requirements: None.

EndPoint

VectorDistanceMoveBuilder.EndPoint

Returns or sets the end point in the direction specified

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

Getter Method

Signature EndPoint

Returns:
Return type:NXOpen.Point

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature EndPoint

Parameters:location (NXOpen.Point) –

New in version NX5.0.0.

License requirements: None.

MoveEnd

VectorDistanceMoveBuilder.MoveEnd

Returns or sets the move end type

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

Getter Method

Signature MoveEnd

Returns:
Return type:NXOpen.CAM.VectorDistanceMoveBuilderEndType

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature MoveEnd

Parameters:endtype (NXOpen.CAM.VectorDistanceMoveBuilderEndType) –

New in version NX5.0.0.

License requirements: None.

Vector

VectorDistanceMoveBuilder.Vector

Returns or sets the Vector

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

Getter Method

Signature Vector

Returns:
Return type:NXOpen.Direction

New in version NX5.0.0.

License requirements: None.

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

Setter Method

Signature Vector

Parameters:vec (NXOpen.Direction) –

New in version NX5.0.0.

License requirements: None.

Method Detail

Validate

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