NX Open C++ Reference Guide
|
Represents a paste in Drafting. More...
Public Types | |
enum | TypeOperation { TypeOperationCopy, TypeOperationCut } |
Specifies the copy cut operation type. More... | |
enum | TypePaste { TypePasteTransform, TypePasteTracking } |
Specifies the paste type. More... | |
Public Member Functions | |
NXOpen::Drafting::CutCopyPasteLeaderBuilder * | CutCopyPasteLeader () |
Returns the leader builder. More... | |
NXOpen::View * | DestinationView () |
Returns the destination view. More... | |
NXOpen::Point3d | GetDefaultToPoint () |
Get the default to point. More... | |
void | InitPaste () |
Make the initial drop. More... | |
NXOpen::SelectTaggedObjectList * | ObjectsToCopy () |
Returns the objects list to copy. More... | |
NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation | Originals () |
Returns the operation type. More... | |
NXOpen::SelectTaggedObjectList * | OutputObjects () |
Returns the output Objects Created in NX7.5.0. More... | |
NXOpen::Drafting::CutCopyPasteBuilder::TypePaste | PasteType () |
Returns the paste type Created in NX8.0.0. More... | |
NXOpen::Plane * | PlaneToRestrictMotion () |
Returns the plane to restrict motion Created in NX7.5.0. More... | |
void | SetDefaultToPoint (const NXOpen::Point3d &dropLocation) |
Set the default to point. More... | |
void | SetDestinationView (NXOpen::View *destinationView) |
Sets the destination view. More... | |
void | SetMoveOnCommit (const NXOpen::Matrix3x3 &rot, const NXOpen::Vector3d &trans) |
Set the final motion from the drop location. More... | |
void | SetOriginals (NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation originals) |
Sets the operation type. More... | |
void | SetPasteType (NXOpen::Drafting::CutCopyPasteBuilder::TypePaste pasteType) |
Sets the paste type Created in NX8.0.0. More... | |
void | SetPlaneToRestrictMotion (NXOpen::Plane *plan) |
Sets the plane to restrict motion Created in NX7.5.0. More... | |
NXOpen::GeometricUtilities::ModlMotion * | Transform () |
Returns the motion from the default paste position Created in NX7.5.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. 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.
NXOpen::Drafting::CutCopyPasteLeaderBuilder* NXOpen::Drafting::CutCopyPasteBuilder::CutCopyPasteLeader | ( | ) |
Returns the leader builder.
Created in NX8.0.0.
License requirements : None
NXOpen::View* NXOpen::Drafting::CutCopyPasteBuilder::DestinationView | ( | ) |
Returns the destination view.
Either a drafting view or sheet view.
Created in NX7.5.0.
License requirements : None
NXOpen::Point3d NXOpen::Drafting::CutCopyPasteBuilder::GetDefaultToPoint | ( | ) |
Get the default to point.
The drop location.
void NXOpen::Drafting::CutCopyPasteBuilder::InitPaste | ( | ) |
Make the initial drop.
Created in NX7.5.0.
License requirements : drafting ("DRAFTING")
NXOpen::SelectTaggedObjectList* NXOpen::Drafting::CutCopyPasteBuilder::ObjectsToCopy | ( | ) |
Returns the objects list to copy.
May include drafting geometry, sketch objects and simple annotations.
Created in NX7.5.0.
License requirements : None
NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation NXOpen::Drafting::CutCopyPasteBuilder::Originals | ( | ) |
Returns 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 : None
NXOpen::SelectTaggedObjectList* NXOpen::Drafting::CutCopyPasteBuilder::OutputObjects | ( | ) |
Returns the output Objects
Created in NX7.5.0.
License requirements : None
NXOpen::Drafting::CutCopyPasteBuilder::TypePaste NXOpen::Drafting::CutCopyPasteBuilder::PasteType | ( | ) |
Returns the paste type
Created in NX8.0.0.
License requirements : None
NXOpen::Plane* NXOpen::Drafting::CutCopyPasteBuilder::PlaneToRestrictMotion | ( | ) |
Returns the plane to restrict motion
Created in NX7.5.0.
License requirements : None
void NXOpen::Drafting::CutCopyPasteBuilder::SetDefaultToPoint | ( | const NXOpen::Point3d & | dropLocation | ) |
Set the default to point.
The drop location.
Created in NX7.5.0.
License requirements : drafting ("DRAFTING")
dropLocation | the drop location |
void NXOpen::Drafting::CutCopyPasteBuilder::SetDestinationView | ( | NXOpen::View * | destinationView | ) |
Sets the destination view.
Either a drafting view or sheet view.
Created in NX7.5.0.
License requirements : drafting ("DRAFTING")
destinationView | destinationview |
void NXOpen::Drafting::CutCopyPasteBuilder::SetMoveOnCommit | ( | const NXOpen::Matrix3x3 & | rot, |
const 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 |
void NXOpen::Drafting::CutCopyPasteBuilder::SetOriginals | ( | NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation | originals | ) |
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 : drafting ("DRAFTING")
originals | originals |
void NXOpen::Drafting::CutCopyPasteBuilder::SetPasteType | ( | NXOpen::Drafting::CutCopyPasteBuilder::TypePaste | pasteType | ) |
Sets the paste type
Created in NX8.0.0.
License requirements : None
pasteType | pastetype |
void NXOpen::Drafting::CutCopyPasteBuilder::SetPlaneToRestrictMotion | ( | NXOpen::Plane * | plan | ) |
Sets the plane to restrict motion
Created in NX7.5.0.
License requirements : drafting ("DRAFTING")
plan | plan |
NXOpen::GeometricUtilities::ModlMotion* NXOpen::Drafting::CutCopyPasteBuilder::Transform | ( | ) |
Returns the motion from the default paste position
Created in NX7.5.0.
License requirements : None