NX Open C++ Reference Guide
|
Represents a Drafting::PrimaryContentItemBuilder . More...
Public Member Functions | |
NXOpen::Assemblies::SelectComponentList * | Content () |
Returns the content. | |
NXString | GeometryTemplate () |
Returns the geometry template. | |
void | SetGeometryTemplate (const NXString &geometryTemplate) |
Sets the geometry template. | |
void | SetGeometryTemplate (const char *geometryTemplate) |
Sets the geometry template. | |
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 Drafting::PrimaryContentItemBuilder .
This class is used to specify information pertaining to the primary content of a Drawing Booklet. Each instance represents a single drawing in a booklet.
To create a new instance of this class, use Drafting::AutomationManager::CreatePrimaryContentItemBuilder
Created in NX8.0.0.
NXOpen::Assemblies::SelectComponentList* NXOpen::Drafting::PrimaryContentItemBuilder::Content | ( | ) |
Returns the content.
Created in NX8.0.0.
License requirements : None
NXString NXOpen::Drafting::PrimaryContentItemBuilder::GeometryTemplate | ( | ) |
Returns the geometry template.
Created in NX8.0.0.
License requirements : None
void NXOpen::Drafting::PrimaryContentItemBuilder::SetGeometryTemplate | ( | const NXString & | geometryTemplate | ) |
Sets the geometry template.
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
geometryTemplate | geometrytemplate |
void NXOpen::Drafting::PrimaryContentItemBuilder::SetGeometryTemplate | ( | const char * | geometryTemplate | ) |
Sets the geometry template.
Created in NX8.0.0.
License requirements : nx_drafting_plus ("DraftingPlus")
geometryTemplate | geometrytemplate |
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.