NX Open C++ Reference Guide
|
Represents a PasteSpecialBuilder
To create a new instance of this class, use ClipboardOperationsManager::CreatePasteSpecialBuilder
Default values.
More...
Public Types | |
enum | DestinationOption { DestinationOptionWcs, DestinationOptionCsys } |
This enum represents the paste ppecial destination coordinate system options. More... | |
enum | LayerOption { LayerOptionWork, LayerOptionOriginal, LayerOptionSpecified } |
This enum represents the paste special layer options. More... | |
Public Member Functions | |
NXOpen::CoordinateSystem * | Csys () |
Returns the destination coordinate system Created in NX5.0.0. | |
NXOpen::PasteSpecialBuilder::DestinationOption | DestinationOpt () |
Returns the destination coordinate system option Created in NX5.0.0. | |
int | LayerNumber () |
Returns the layer number Created in NX5.0.0. | |
NXOpen::PasteSpecialBuilder::LayerOption | LayerOpt () |
Returns the layer option Created in NX5.0.0. | |
void | SetCsys (NXOpen::CoordinateSystem *csys) |
Sets the destination coordinate system Created in NX5.0.0. | |
void | SetDestinationOpt (NXOpen::PasteSpecialBuilder::DestinationOption destinationOpt) |
Sets the destination coordinate system option Created in NX5.0.0. | |
void | SetLayerNumber (int layerNumber) |
Sets the layer number Created in NX5.0.0. | |
void | SetLayerOpt (NXOpen::PasteSpecialBuilder::LayerOption layerOpt) |
Sets the layer option Created in NX5.0.0. | |
![]() | |
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. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a PasteSpecialBuilder
To create a new instance of this class, use ClipboardOperationsManager::CreatePasteSpecialBuilder
Default values.
Property | Value |
---|---|
DestinationOpt |
Csys |
LayerOpt |
Work |
Created in NX5.0.0.
NXOpen::CoordinateSystem* NXOpen::PasteSpecialBuilder::Csys | ( | ) |
Returns the destination coordinate system
Created in NX5.0.0.
License requirements : None
NXOpen::PasteSpecialBuilder::DestinationOption NXOpen::PasteSpecialBuilder::DestinationOpt | ( | ) |
Returns the destination coordinate system option
Created in NX5.0.0.
License requirements : None
int NXOpen::PasteSpecialBuilder::LayerNumber | ( | ) |
Returns the layer number
Created in NX5.0.0.
License requirements : None
NXOpen::PasteSpecialBuilder::LayerOption NXOpen::PasteSpecialBuilder::LayerOpt | ( | ) |
Returns the layer option
Created in NX5.0.0.
License requirements : None
void NXOpen::PasteSpecialBuilder::SetCsys | ( | NXOpen::CoordinateSystem * | csys | ) |
Sets the destination coordinate system
Created in NX5.0.0.
License requirements : None
csys | csys |
void NXOpen::PasteSpecialBuilder::SetDestinationOpt | ( | NXOpen::PasteSpecialBuilder::DestinationOption | destinationOpt | ) |
Sets the destination coordinate system option
Created in NX5.0.0.
License requirements : None
destinationOpt | destinationopt |
void NXOpen::PasteSpecialBuilder::SetLayerNumber | ( | int | layerNumber | ) |
Sets the layer number
Created in NX5.0.0.
License requirements : None
layerNumber | layernumber |
void NXOpen::PasteSpecialBuilder::SetLayerOpt | ( | NXOpen::PasteSpecialBuilder::LayerOption | layerOpt | ) |
Sets the layer option
Created in NX5.0.0.
License requirements : None
layerOpt | layeropt |