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

Represents a NXOpen::Features::CopyPasteBuilder
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreateCopyPasteBuilder2

Created in NX6.0.0. More...

Inheritance diagram for NXOpen::Features::CopyPasteBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
bool CopyResolveGeometry ()
 Returns the copy resolving geometry toggle
Created in NX8.0.0. More...
 
NXOpen::Features::CopyPasteBuilder::ExpressionTransferOption ExpressionOption ()
 Returns the expression option
Created in NX6.0.0. More...
 
NXOpen::Features::CopyPasteBuilder::BuilderVersion GetBuilderVersion ()
 The builder version getting function. More...
 
NXOpen::Features::FeatureReferencesBuilderGetFeatureReferences ()
 Returns the feature references builder. More...
 
NXOpen::Features::CopyPasteBuilder::ParentTransferOption ParentOption ()
 Returns the parent option
More...
 
NXOpen::Features::CopyPasteBuilder::ParentSelectOption SelectOption ()
 Returns the parent select option. More...
 
void SetAssociative (bool associative)
 Sets the associative toggle
Created in NX8.0.0. More...
 
void SetBuilderVersion (NXOpen::Features::CopyPasteBuilder::BuilderVersion version)
 The builder version setting function. More...
 
void SetCopyResolveGeometry (bool copyResolveGeometry)
 Sets the copy resolving geometry toggle
Created in NX8.0.0. More...
 
void SetExpressionOption (NXOpen::Features::CopyPasteBuilder::ExpressionTransferOption expressionOption)
 Sets the expression option
Created in NX6.0.0. More...
 
void SetParentOption (NXOpen::Features::CopyPasteBuilder::ParentTransferOption parentOption)
 Sets the parent option
More...
 
void SetSelectOption (NXOpen::Features::CopyPasteBuilder::ParentSelectOption selectionOption)
 Sets the parent select option. More...
 
void UpdateBuilder ()
 The update builder function, needs to be called after parent select option is reset
Created in NX8.0.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 NXOpen::Features::CopyPasteBuilder
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreateCopyPasteBuilder2

Created in NX6.0.0.


Member Enumeration Documentation

Types of version number.

Enumerator
BuilderVersionOriginal 

Value of original version; It can be set before NX8.0.

BuilderVersionExposeOnflySo 

Value of version which exposes smart object created on fly as part of the copy operation; It should be set since NX8.0.

BuilderVersionExposeBody 

Value of version which exposes additional target body parent; It should be added since NX8.5.

BuilderVersionShowParentSelectOption 

Value of version which introduces parent select option; It should be added since NX8.5.1.

Types of expression transfer mode.

Enumerator
ExpressionTransferOptionCreateNew 

New.

ExpressionTransferOptionLinkToOriginal 

Link to Original.

ExpressionTransferOptionOriginalInstance 

Instance of Original.

Types of parent select option; Specifying smart object or selecting input for original parent.

Enumerator
ParentSelectOptionSmartObject 

Selecting input for the original parent.

The creation method used for the input smart object for the copied feature may be selected from the creation methods that were available on the original feature.

ParentSelectOptionInputForOriginalParent 

Specifying smart object using the same creation method that was used in the original feature.

Types of parent transfer mode.

Enumerator
ParentTransferOptionPromptForNew 

Copy Original Curves.

ParentTransferOptionCopyOriginalCurve 

Prompt for New.

ParentTransferOptionOriginalInstance 

Instance of Original.

Member Function Documentation

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.

Returns

Created in NX8.5.0.

License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::Features::FeatureReferencesBuilder* NXOpen::Features::CopyPasteBuilder::GetFeatureReferences ( )

Returns the feature references builder.

Returns

Created in NX6.0.0.

License requirements : None
NXOpen::Features::CopyPasteBuilder::ParentTransferOption NXOpen::Features::CopyPasteBuilder::ParentOption ( )

Returns the parent option

Deprecated:
Deprecated in NX8.0.0.

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

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

Parameters
versionversion
void NXOpen::Features::CopyPasteBuilder::SetCopyResolveGeometry ( bool  copyResolveGeometry)

Sets the copy resolving geometry toggle
Created in NX8.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

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

Parameters
expressionOptionexpressionoption
void NXOpen::Features::CopyPasteBuilder::SetParentOption ( NXOpen::Features::CopyPasteBuilder::ParentTransferOption  parentOption)

Sets the parent option

Deprecated:
Deprecated in NX8.0.0.

This functionality is no longer supported.


Created in NX6.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

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

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


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