CutCopyPasteLeaderBuilder Class

class NXOpen.Drafting.CutCopyPasteLeaderBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a Drafting Paste, especially when reassociating a leader on paste.

New in version NX8.0.0.

Properties

Property Description
DestinationView Returns or sets the destination view.
IsLeaderSelection Returns or sets the variable of is leader selection or not
LeaderSelection Returns the selection to reassociate single leader
ReassociateLeader Returns or sets the flag to reassociate a leader
Selection Returns the selection to reassociate leader
Tag Returns the Tag for this object.

Methods

Method Description
SetMoveOnCommit Set the final motion from the drop location.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

DestinationView

CutCopyPasteLeaderBuilder.DestinationView

Returns or sets the destination view.

Either a drafting view or sheet view.

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

Getter Method

Signature DestinationView

Returns:
Return type:NXOpen.View

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature DestinationView

Parameters:destinationView (NXOpen.View) –

New in version NX8.0.0.

License requirements: drafting (“DRAFTING”)

IsLeaderSelection

CutCopyPasteLeaderBuilder.IsLeaderSelection

Returns or sets the variable of is leader selection or not

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

Getter Method

Signature IsLeaderSelection

Returns:
Return type:bool

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature IsLeaderSelection

Parameters:isLeaderSelection (bool) – True If it is leader selection

New in version NX8.0.0.

License requirements: drafting (“DRAFTING”)

LeaderSelection

CutCopyPasteLeaderBuilder.LeaderSelection

Returns the selection to reassociate single leader

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

Getter Method

Signature LeaderSelection

Returns:
Return type:NXOpen.SelectTaggedObject

New in version NX8.0.0.

License requirements: None.

ReassociateLeader

CutCopyPasteLeaderBuilder.ReassociateLeader

Returns or sets the flag to reassociate a leader

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

Getter Method

Signature ReassociateLeader

Returns:
Return type:bool

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature ReassociateLeader

Parameters:reassociateLeader (bool) –

New in version NX8.0.0.

License requirements: drafting (“DRAFTING”)

Selection

CutCopyPasteLeaderBuilder.Selection

Returns the selection to reassociate leader

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

Getter Method

Signature Selection

Returns:
Return type:NXOpen.SelectTaggedObject

New in version NX8.0.0.

License requirements: None.

Method Detail

SetMoveOnCommit

CutCopyPasteLeaderBuilder.SetMoveOnCommit

Set the final motion from the drop location.

Signature SetMoveOnCommit(rot, trans)

Parameters:

New in version NX8.0.0.

License requirements: drafting (“DRAFTING”)

Validate

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