NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Drafting::CutCopyPasteBuilder Class Reference

Represents a paste in Drafting. More...

Inheritance diagram for NXOpen::Drafting::CutCopyPasteBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::CutCopyPasteLeaderBuilderCutCopyPasteLeader ()
 Returns the leader builder. More...
 
NXOpen::ViewDestinationView ()
 Returns the destination view. More...
 
NXOpen::Point3d GetDefaultToPoint ()
 Get the default to point. More...
 
void InitPaste ()
 Make the initial drop. More...
 
NXOpen::SelectTaggedObjectListObjectsToCopy ()
 Returns the objects list to copy. More...
 
NXOpen::Drafting::CutCopyPasteBuilder::TypeOperation Originals ()
 Returns the operation type. More...
 
NXOpen::SelectTaggedObjectListOutputObjects ()
 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::PlanePlaneToRestrictMotion ()
 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::ModlMotionTransform ()
 Returns the motion from the default paste position
Created in NX7.5.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.

Member Enumeration Documentation

Specifies the copy cut operation type.

Enumerator
TypeOperationCopy 

Copy type.

TypeOperationCut 

Cut type.

Specifies the paste type.

Enumerator
TypePasteTransform 

Transform type.

TypePasteTracking 

Tracking type.

Member Function Documentation

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.

Returns
the drop location
Created in NX7.5.0.

License requirements : None
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")

Parameters
dropLocationthe 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")

Parameters
destinationViewdestinationview
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")

Parameters
rotrotational part of motion
transtranslation 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")

Parameters
originalsoriginals
void NXOpen::Drafting::CutCopyPasteBuilder::SetPasteType ( NXOpen::Drafting::CutCopyPasteBuilder::TypePaste  pasteType)

Sets the paste type
Created in NX8.0.0.



License requirements : None

Parameters
pasteTypepastetype
void NXOpen::Drafting::CutCopyPasteBuilder::SetPlaneToRestrictMotion ( NXOpen::Plane plan)

Sets the plane to restrict motion
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters
planplan
NXOpen::GeometricUtilities::ModlMotion* NXOpen::Drafting::CutCopyPasteBuilder::Transform ( )

Returns the motion from the default paste position
Created in NX7.5.0.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.