|
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. | |
| NXOpen::View * | DestinationView () |
| Returns the destination view. | |
| NXOpen::Point3d | GetDefaultToPoint () |
| Get the default to point. | |
| void | InitPaste () |
| Make the initial drop. | |
| NXOpen::SelectTaggedObjectList * | ObjectsToCopy () |
| Returns the objects list to copy. | |
| NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation | Originals () |
| Returns the operation type. | |
| NXOpen::SelectTaggedObjectList * | OutputObjects () |
| Returns the output Objects Created in NX7.5.0. | |
| NXOpen::Drafting::CutCopyPasteBuilder::TypePaste | PasteType () |
| Returns the paste type Created in NX8.0.0. | |
| NXOpen::Plane * | PlaneToRestrictMotion () |
| Returns the plane to restrict motion Created in NX7.5.0. | |
| void | SetDefaultToPoint (const NXOpen::Point3d &dropLocation) |
| Set the default to point. | |
| void | SetDestinationView (NXOpen::View *destinationView) |
| Sets the destination view. | |
| void | SetMoveOnCommit (const NXOpen::Matrix3x3 &rot, const NXOpen::Vector3d &trans) |
| Set the final motion from the drop location. | |
| void | SetOriginals (NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation originals) |
| Sets the operation type. | |
| void | SetPasteType (NXOpen::Drafting::CutCopyPasteBuilder::TypePaste pasteType) |
| Sets the paste type Created in NX8.0.0. | |
| void | SetPlaneToRestrictMotion (NXOpen::Plane *plan) |
| Sets the plane to restrict motion Created in NX7.5.0. | |
| NXOpen::GeometricUtilities::ModlMotion * | Transform () |
| Returns the motion from the default paste position Created in NX7.5.0. | |
Public Member Functions inherited from NXOpen::Builder | |
| NXOpen::NXObject * | Commit () |
| Commits any edits that have been applied to the builder. | |
| void | Destroy () |
| Deletes the builder, and cleans up any objects created by the builder. | |
| std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
| For builders that create more than one object, this method returns the objects that are created by commit. | |
| NXOpen::NXObject * | GetObject () |
| Returns the object currently being edited by this builder. | |
| void | ShowResults () |
| Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
| virtual bool | Validate () |
| Validate whether the inputs to the component are sufficient for commit to be called. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents a paste in Drafting.
<br> To create a new instance of this class, use @link Drafting::DraftingApplicationManager::CreateCutCopyPasteBuilder Drafting::DraftingApplicationManager::CreateCutCopyPasteBuilder @endlink <br>
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