NX Open C++ Reference Guide
|
Represents a Builder for Replace 2D component functionality which will replaces the selected 2D Component contents from another 2D Component definition. More...
Public Member Functions | |
NXOpen::Layout2d::SelectComponentList * | Components () |
Returns the select objects to replace the definitions Created in NX9.0.0. | |
NXOpen::Layout2d::Layout2dDefinitionLocation | Location () |
Returns the location type of the component definition to replace indicating local, native or team center. | |
NXString | Path () |
Returns the path of the component definition to replace Created in NX9.0.0. | |
bool | ReplaceAll () |
Returns the flag indicating whether to replace all instances of selected components Created in NX9.0.0. | |
void | SetLocation (NXOpen::Layout2d::Layout2dDefinitionLocation locationType) |
Sets the location type of the component definition to replace indicating local, native or team center. | |
void | SetPath (const NXString &path) |
Sets the path of the component definition to replace Created in NX9.0.0. | |
void | SetPath (const char *path) |
Sets the path of the component definition to replace Created in NX9.0.0. | |
void | SetReplaceAll (bool replaceAll) |
Sets the flag indicating whether to replace all instances of selected components Created in NX9.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 Builder for Replace 2D component functionality which will replaces the selected 2D Component contents from another 2D Component definition.
<br> To create a new instance of this class, use @link Layout2d::ComponentCollection::CreateReplaceComponentBuilder Layout2d::ComponentCollection::CreateReplaceComponentBuilder @endlink <br>
Created in NX9.0.0.
NXOpen::Layout2d::SelectComponentList* NXOpen::Layout2d::ReplaceComponentBuilder::Components | ( | ) |
Returns the select objects to replace the definitions
Created in NX9.0.0.
License requirements : None
NXOpen::Layout2d::Layout2dDefinitionLocation NXOpen::Layout2d::ReplaceComponentBuilder::Location | ( | ) |
Returns the location type of the component definition to replace indicating local, native or team center.
Created in NX9.0.0.
License requirements : None
NXString NXOpen::Layout2d::ReplaceComponentBuilder::Path | ( | ) |
Returns the path of the component definition to replace
Created in NX9.0.0.
License requirements : None
bool NXOpen::Layout2d::ReplaceComponentBuilder::ReplaceAll | ( | ) |
Returns the flag indicating whether to replace all instances of selected components
Created in NX9.0.0.
License requirements : None
void NXOpen::Layout2d::ReplaceComponentBuilder::SetLocation | ( | NXOpen::Layout2d::Layout2dDefinitionLocation | locationType | ) |
Sets the location type of the component definition to replace indicating local, native or team center.
Created in NX9.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
locationType | locationtype |
void NXOpen::Layout2d::ReplaceComponentBuilder::SetPath | ( | const NXString & | path | ) |
Sets the path of the component definition to replace
Created in NX9.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
path | path |
void NXOpen::Layout2d::ReplaceComponentBuilder::SetPath | ( | const char * | path | ) |
Sets the path of the component definition to replace
Created in NX9.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
path | path |
void NXOpen::Layout2d::ReplaceComponentBuilder::SetReplaceAll | ( | bool | replaceAll | ) |
Sets the flag indicating whether to replace all instances of selected components
Created in NX9.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
replaceAll | replaceall |