NXOpen .NET Reference
12.0.0
|
Represents a paste in Drafting. More...
Public Types | |
enum | TypePaste { Transform, Tracking } |
Specifies the paste type. More... | |
enum | TypeOperation { Copy, Cut } |
Specifies the copy cut operation type. More... | |
Public Member Functions | |
unsafe NXOpen.Point3d | GetDefaultToPoint () |
Get the default to point. More... | |
unsafe void | SetDefaultToPoint (NXOpen.Point3d dropLocation) |
Set the default to point. More... | |
unsafe void | SetMoveOnCommit (NXOpen.Matrix3x3 rot, NXOpen.Vector3d trans) |
Set the final motion from the drop location. More... | |
unsafe void | InitPaste () |
Make the initial drop. More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe NXOpen.Drafting.CutCopyPasteLeaderBuilder | CutCopyPasteLeader [get] |
Returns the leader builder. More... | |
unsafe NXOpen.View | DestinationView [get, set] |
Returns or sets the destination view. More... | |
unsafe NXOpen.SelectTaggedObjectList | ObjectsToCopy [get] |
Returns the objects list to copy. More... | |
unsafe NXOpen.Drafting.CutCopyPasteBuilder.TypeOperation | Originals [get, set] |
Returns or sets the operation type. More... | |
unsafe NXOpen.SelectTaggedObjectList | OutputObjects [get] |
Returns the output Objects More... | |
unsafe NXOpen.Drafting.CutCopyPasteBuilder.TypePaste | PasteType [get, set] |
Returns or sets the paste type More... | |
unsafe NXOpen.Plane | PlaneToRestrictMotion [get, set] |
Returns or sets the plane to restrict motion More... | |
unsafe NXOpen.GeometricUtilities.ModlMotion | Transform [get] |
Returns the motion from the default paste position More... | |
Represents a paste in Drafting.
To create a new instance of this class, use NXOpen.Drafting.DraftingApplicationManager.CreateCutCopyPasteBuilder
Default values.
Property | Value |
---|---|
Transform.DeltaEnum |
ReferenceWcsWorkPart |
Transform.DeltaXc.Value |
0.0 |
Transform.DeltaYc.Value |
0.0 |
Transform.DeltaZc.Value |
0.0 |
Transform.Option |
Distance |
Created in NX7.5.0
unsafe NXOpen.Point3d NXOpen.Drafting.CutCopyPasteBuilder.GetDefaultToPoint | ( | ) |
Get the default to point.
The drop location.
Created in NX7.5.0
License requirements: None.
unsafe void NXOpen.Drafting.CutCopyPasteBuilder.InitPaste | ( | ) |
Make the initial drop.
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
unsafe void NXOpen.Drafting.CutCopyPasteBuilder.SetDefaultToPoint | ( | NXOpen.Point3d | dropLocation | ) |
Set the default to point.
The drop location.
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
dropLocation | the drop location |
unsafe void NXOpen.Drafting.CutCopyPasteBuilder.SetMoveOnCommit | ( | NXOpen.Matrix3x3 | rot, |
NXOpen.Vector3d | trans | ||
) |
Set the final motion from the drop location.
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
rot | rotational part of motion |
trans | translation part of motion |
|
get |
Returns the leader builder.
Created in NX8.0.0
License requirements: None.
|
getset |
Returns or sets the destination view.
Either a drafting view or sheet view.
Created in NX7.5.0
License requirements to get this property: None.
License requirements to set this property: drafting ("DRAFTING")
|
get |
Returns the objects list to copy.
May include drafting geometry, sketch objects and simple annotations.
Created in NX7.5.0
License requirements: None.
|
getset |
Returns or sets the operation type.
If it is copy, we will keept the originals. If it is cut, we will delete the originals
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: drafting ("DRAFTING")
|
get |
Returns the output Objects
Created in NX7.5.0
License requirements: None.
|
getset |
Returns or sets the paste type
Created in NX8.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the plane to restrict motion
Created in NX7.5.0
License requirements to get this property: None.
License requirements to set this property: drafting ("DRAFTING")
|
get |
Returns the motion from the default paste position
Created in NX7.5.0
License requirements: None.