NX Open C++ Reference Guide
|
Represents a Features::CopyPasteBuilder
To create a new instance of this class, use Features::FeatureCollection::CreateCopyPasteBuilder2
Created in NX6.0.0.
More...
Public Types | |
enum | BuilderVersion { BuilderVersionOriginal, BuilderVersionExposeOnflySo, BuilderVersionExposeBody, BuilderVersionShowParentSelectOption = 4 } |
Types of version number. More... | |
enum | ExpressionTransferOption { ExpressionTransferOptionCreateNew, ExpressionTransferOptionLinkToOriginal, ExpressionTransferOptionOriginalInstance } |
Types of expression transfer mode. More... | |
enum | ParentSelectOption { ParentSelectOptionSmartObject, ParentSelectOptionInputForOriginalParent } |
Types of parent select option; Specifying smart object or selecting input for original parent. More... | |
enum | ParentTransferOption { ParentTransferOptionPromptForNew, ParentTransferOptionCopyOriginalCurve, ParentTransferOptionOriginalInstance } |
Types of parent transfer mode. More... | |
Public Member Functions | |
bool | Associative () |
Returns the associative toggle Created in NX8.0.0. | |
bool | CopyResolveGeometry () |
Returns the copy resolving geometry toggle Created in NX8.0.0. | |
NXOpen::Features::CopyPasteBuilder::ExpressionTransferOption | ExpressionOption () |
Returns the expression option Created in NX6.0.0. | |
NXOpen::Features::CopyPasteBuilder::BuilderVersion | GetBuilderVersion () |
The builder version getting function. | |
NXOpen::Features::FeatureReferencesBuilder * | GetFeatureReferences () |
Returns the feature references builder. | |
NXOpen::Features::CopyPasteBuilder::ParentTransferOption | ParentOption () |
Returns the parent option | |
NXOpen::Features::CopyPasteBuilder::ParentSelectOption | SelectOption () |
Returns the parent select option. | |
void | SetAssociative (bool associative) |
Sets the associative toggle Created in NX8.0.0. | |
void | SetBuilderVersion (NXOpen::Features::CopyPasteBuilder::BuilderVersion version) |
The builder version setting function. | |
void | SetCopyResolveGeometry (bool copyResolveGeometry) |
Sets the copy resolving geometry toggle Created in NX8.0.0. | |
void | SetExpressionOption (NXOpen::Features::CopyPasteBuilder::ExpressionTransferOption expressionOption) |
Sets the expression option Created in NX6.0.0. | |
void | SetParentOption (NXOpen::Features::CopyPasteBuilder::ParentTransferOption parentOption) |
Sets the parent option | |
void | SetSelectOption (NXOpen::Features::CopyPasteBuilder::ParentSelectOption selectionOption) |
Sets the parent select option. | |
void | UpdateBuilder () |
The update builder function, needs to be called after parent select option is reset Created in NX8.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 Features::CopyPasteBuilder
To create a new instance of this class, use Features::FeatureCollection::CreateCopyPasteBuilder2
Created in NX6.0.0.
Types of version number.
Types of parent select option; Specifying smart object or selecting input for original parent.
bool NXOpen::Features::CopyPasteBuilder::Associative | ( | ) |
Returns the associative toggle
Created in NX8.0.0.
License requirements : None
bool NXOpen::Features::CopyPasteBuilder::CopyResolveGeometry | ( | ) |
Returns the copy resolving geometry toggle
Created in NX8.0.0.
License requirements : None
NXOpen::Features::CopyPasteBuilder::ExpressionTransferOption NXOpen::Features::CopyPasteBuilder::ExpressionOption | ( | ) |
Returns the expression option
Created in NX6.0.0.
License requirements : None
NXOpen::Features::CopyPasteBuilder::BuilderVersion NXOpen::Features::CopyPasteBuilder::GetBuilderVersion | ( | ) |
The builder version getting function.
NXOpen::Features::FeatureReferencesBuilder* NXOpen::Features::CopyPasteBuilder::GetFeatureReferences | ( | ) |
Returns the feature references builder.
NXOpen::Features::CopyPasteBuilder::ParentTransferOption NXOpen::Features::CopyPasteBuilder::ParentOption | ( | ) |
Returns the parent option
This functionality is no longer supported.
Created in NX6.0.0.
License requirements : None
NXOpen::Features::CopyPasteBuilder::ParentSelectOption NXOpen::Features::CopyPasteBuilder::SelectOption | ( | ) |
Returns the parent select option.
This option allows the user to control if the input smart objects for the copied feature should have all the input smart object creation methods available from the parent feature or only use the smart object creation method selected on the original parent
Created in NX8.5.1.
License requirements : None
void NXOpen::Features::CopyPasteBuilder::SetAssociative | ( | bool | associative | ) |
Sets the associative toggle
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
associative | associative |
void NXOpen::Features::CopyPasteBuilder::SetBuilderVersion | ( | NXOpen::Features::CopyPasteBuilder::BuilderVersion | version | ) |
The builder version setting function.
This function sets builder version number with value which is treated as bit field. It still uses the enumeration defined in previous releases. In order to set the builder version number to the correct value, the version number could be calculated by a bitwise or operation on previous releases versions number, or by an addition of previous releases versions number.
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
version | version |
void NXOpen::Features::CopyPasteBuilder::SetCopyResolveGeometry | ( | bool | copyResolveGeometry | ) |
Sets the copy resolving geometry toggle
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
copyResolveGeometry | copyresolvegeometry |
void NXOpen::Features::CopyPasteBuilder::SetExpressionOption | ( | NXOpen::Features::CopyPasteBuilder::ExpressionTransferOption | expressionOption | ) |
Sets the expression option
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
expressionOption | expressionoption |
void NXOpen::Features::CopyPasteBuilder::SetParentOption | ( | NXOpen::Features::CopyPasteBuilder::ParentTransferOption | parentOption | ) |
Sets the parent option
This functionality is no longer supported.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
parentOption | parentoption |
void NXOpen::Features::CopyPasteBuilder::SetSelectOption | ( | NXOpen::Features::CopyPasteBuilder::ParentSelectOption | selectionOption | ) |
Sets the parent select option.
This option allows the user to control if the input smart objects for the copied feature should have all the input smart object creation methods available from the parent feature or only use the smart object creation method selected on the original parent
Created in NX8.5.1.
License requirements : solid_modeling ("SOLIDS MODELING")
selectionOption | selectionoption |
void NXOpen::Features::CopyPasteBuilder::UpdateBuilder | ( | ) |
The update builder function, needs to be called after parent select option is reset
Created in NX8.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")