NX Open C++ Reference Guide
|
Represents a @link Tooling::AddReusableFeatureBuilder Tooling::AddReusableFeatureBuilder@endlink <br> To create a new instance of this class, use @link Tooling::AddReusableFeatureCollection::CreateBuilder Tooling::AddReusableFeatureCollection::CreateBuilder @endlink <br>
Default values. More...
Public Types | |
enum | LayerOptionType { LayerOptionTypeWork, LayerOptionTypeOriginal, LayerOptionTypeAsSpecified } |
Represents the layer option type. More... | |
Public Member Functions | |
NXOpen::Features::CopyPasteBuilder * | GetCopyPasteBuilder () |
Returns the copy paste builder. | |
void | GetUserExpressions (std::vector< NXString > &userExpressionsName, std::vector< NXString > &userExpressionsValue) |
Gets the user expressions value Created in NX7.5.0. | |
NXOpen::Tooling::AddReusableFeatureBuilder::LayerOptionType | LayerOption () |
Returns the layer option Created in NX7.5.0. | |
void | SetLayerOption (NXOpen::Tooling::AddReusableFeatureBuilder::LayerOptionType layerOption) |
Sets the layer option Created in NX7.5.0. | |
void | SetSpecifiedLayer (int specifiedLayer) |
Sets the specified layer Created in NX7.5.0. | |
void | SetUserExpressions (std::vector< NXString > &userExpressionsName, std::vector< NXString > &userExpressionsValue) |
Sets the user expressions value Created in NX7.5.0. | |
int | SpecifiedLayer () |
Returns the specified layer Created in NX7.5.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 @link Tooling::AddReusableFeatureBuilder Tooling::AddReusableFeatureBuilder@endlink <br> To create a new instance of this class, use @link Tooling::AddReusableFeatureCollection::CreateBuilder Tooling::AddReusableFeatureCollection::CreateBuilder @endlink <br>
Default values.
Property | Value |
---|---|
LayerOption |
Work |
SpecifiedLayer |
1 |
Created in NX7.5.0.
NXOpen::Features::CopyPasteBuilder* NXOpen::Tooling::AddReusableFeatureBuilder::GetCopyPasteBuilder | ( | ) |
Returns the copy paste builder.
void NXOpen::Tooling::AddReusableFeatureBuilder::GetUserExpressions | ( | std::vector< NXString > & | userExpressionsName, |
std::vector< NXString > & | userExpressionsValue | ||
) |
Gets the user expressions value
Created in NX7.5.0.
License requirements : None
userExpressionsName | User expressions Name |
userExpressionsValue | User expressions Value |
NXOpen::Tooling::AddReusableFeatureBuilder::LayerOptionType NXOpen::Tooling::AddReusableFeatureBuilder::LayerOption | ( | ) |
Returns the layer option
Created in NX7.5.0.
License requirements : None
void NXOpen::Tooling::AddReusableFeatureBuilder::SetLayerOption | ( | NXOpen::Tooling::AddReusableFeatureBuilder::LayerOptionType | layerOption | ) |
Sets the layer option
Created in NX7.5.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
layerOption | layeroption |
void NXOpen::Tooling::AddReusableFeatureBuilder::SetSpecifiedLayer | ( | int | specifiedLayer | ) |
Sets the specified layer
Created in NX7.5.0.
License requirements : assemblies ("ASSEMBLIES MODULE")
specifiedLayer | specifiedlayer |
void NXOpen::Tooling::AddReusableFeatureBuilder::SetUserExpressions | ( | std::vector< NXString > & | userExpressionsName, |
std::vector< NXString > & | userExpressionsValue | ||
) |
Sets the user expressions value
Created in NX7.5.0.
License requirements : None
userExpressionsName | User expressions Name NOTE: The full Unicode character set is not supported for this parameter. |
userExpressionsValue | User expressions Value NOTE: The full Unicode character set is not supported for this parameter. |
int NXOpen::Tooling::AddReusableFeatureBuilder::SpecifiedLayer | ( | ) |
Returns the specified layer
Created in NX7.5.0.
License requirements : None