NX Open C++ Reference Guide
|
Represents a Drawings::MarkAsTemplateBuilder
To create a new instance of this class, use DraftingManager::CreateMarkAsTemplateBuilder
Created in NX8.0.0.
More...
Public Types | |
enum | ActionTypeEnum { ActionTypeEnumTemplateOnly, ActionTypeEnumTemplateAndPax } |
the action type enum. More... | |
enum | ItemTypeEnum { ItemTypeEnumAny, ItemTypeEnumNXPart, ItemTypeEnumNXDrawing } |
the item type enum. More... | |
enum | RelationTypeEnum { RelationTypeEnumMaster, RelationTypeEnumSpecification, RelationTypeEnumManifestation } |
the relation type enum. More... | |
enum | TemplateTypeEnum { TemplateTypeEnumSheet, TemplateTypeEnumReferenceExistingPart, TemplateTypeEnumStandalone } |
the template type enum. More... | |
Public Member Functions | |
NXOpen::Drawings::MarkAsTemplateBuilder::ActionTypeEnum | ActionType () |
Returns the action type of the part. | |
NXString | Description () |
Returns the detailed description for each template. | |
NXOpen::Drawings::MarkAsTemplateBuilder::ItemTypeEnum | ItemType () |
Returns the item type of the part. | |
NXString | PaxFileName () |
Returns the PAX file to be updated or created if it does not exist. | |
NXString | PresentationName () |
Returns the presentation name of the template that will be displayed in the File->New dialog. | |
NXOpen::Drawings::MarkAsTemplateBuilder::RelationTypeEnum | RelationType () |
Returns the relation type is required only for the managed mode. | |
void | SetActionType (NXOpen::Drawings::MarkAsTemplateBuilder::ActionTypeEnum actionType) |
Sets the action type of the part. | |
void | SetDescription (const NXString &description) |
Sets the detailed description for each template. | |
void | SetDescription (const char *description) |
Sets the detailed description for each template. | |
void | SetItemType (NXOpen::Drawings::MarkAsTemplateBuilder::ItemTypeEnum itemType) |
Sets the item type of the part. | |
void | SetPaxFileName (const NXString &filename) |
Sets the PAX file to be updated or created if it does not exist. | |
void | SetPaxFileName (const char *filename) |
Sets the PAX file to be updated or created if it does not exist. | |
void | SetPresentationName (const NXString &presentationName) |
Sets the presentation name of the template that will be displayed in the File->New dialog. | |
void | SetPresentationName (const char *presentationName) |
Sets the presentation name of the template that will be displayed in the File->New dialog. | |
void | SetRelationType (NXOpen::Drawings::MarkAsTemplateBuilder::RelationTypeEnum relationType) |
Sets the relation type is required only for the managed mode. | |
void | SetTemplateType (NXOpen::Drawings::MarkAsTemplateBuilder::TemplateTypeEnum templateType) |
Sets the template Type will be one of the following: Sheet To save it as Sheet template. | |
NXOpen::Drawings::MarkAsTemplateBuilder::TemplateTypeEnum | TemplateType () |
Returns the template Type will be one of the following: Sheet To save it as Sheet template. | |
![]() | |
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 Drawings::MarkAsTemplateBuilder
To create a new instance of this class, use DraftingManager::CreateMarkAsTemplateBuilder
Created in NX8.0.0.
NXOpen::Drawings::MarkAsTemplateBuilder::ActionTypeEnum NXOpen::Drawings::MarkAsTemplateBuilder::ActionType | ( | ) |
Returns the action type of the part.
Created in NX8.0.0.
License requirements : None
NXString NXOpen::Drawings::MarkAsTemplateBuilder::Description | ( | ) |
Returns the detailed description for each template.
Created in NX8.0.0.
License requirements : None
NXOpen::Drawings::MarkAsTemplateBuilder::ItemTypeEnum NXOpen::Drawings::MarkAsTemplateBuilder::ItemType | ( | ) |
Returns the item type of the part.
Created in NX8.0.0.
License requirements : None
NXString NXOpen::Drawings::MarkAsTemplateBuilder::PaxFileName | ( | ) |
Returns the PAX file to be updated or created if it does not exist.
Created in NX8.0.0.
License requirements : None
NXString NXOpen::Drawings::MarkAsTemplateBuilder::PresentationName | ( | ) |
Returns the presentation name of the template that will be displayed in the File->New dialog.
Created in NX8.0.0.
License requirements : None
NXOpen::Drawings::MarkAsTemplateBuilder::RelationTypeEnum NXOpen::Drawings::MarkAsTemplateBuilder::RelationType | ( | ) |
Returns the relation type is required only for the managed mode.
The available options are Master Specification Manifestation
Created in NX8.0.0.
License requirements : None
void NXOpen::Drawings::MarkAsTemplateBuilder::SetActionType | ( | NXOpen::Drawings::MarkAsTemplateBuilder::ActionTypeEnum | actionType | ) |
Sets the action type of the part.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
actionType | actiontype |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetDescription | ( | const NXString & | description | ) |
Sets the detailed description for each template.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
description | description |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetDescription | ( | const char * | description | ) |
Sets the detailed description for each template.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
description | description |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetItemType | ( | NXOpen::Drawings::MarkAsTemplateBuilder::ItemTypeEnum | itemType | ) |
Sets the item type of the part.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
itemType | itemtype |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetPaxFileName | ( | const NXString & | filename | ) |
Sets the PAX file to be updated or created if it does not exist.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
filename | filename |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetPaxFileName | ( | const char * | filename | ) |
Sets the PAX file to be updated or created if it does not exist.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
filename | filename |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetPresentationName | ( | const NXString & | presentationName | ) |
Sets the presentation name of the template that will be displayed in the File->New dialog.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
presentationName | presentationname |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetPresentationName | ( | const char * | presentationName | ) |
Sets the presentation name of the template that will be displayed in the File->New dialog.
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
presentationName | presentationname |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetRelationType | ( | NXOpen::Drawings::MarkAsTemplateBuilder::RelationTypeEnum | relationType | ) |
Sets the relation type is required only for the managed mode.
The available options are Master Specification Manifestation
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
relationType | relationtype |
void NXOpen::Drawings::MarkAsTemplateBuilder::SetTemplateType | ( | NXOpen::Drawings::MarkAsTemplateBuilder::TemplateTypeEnum | templateType | ) |
Sets the template Type will be one of the following: Sheet To save it as Sheet template.
When using Sheet templates, NX adds drawing sheets based on the template to the current work part. Master Model Drawing To save it as Master Model Drawing template. When using Master Model Drawing templates, NX create a new master model drawing from the current part. NX creates a new drawing part from the template and includes the current model as a component. 2D-Drawing To save it as 2D Drawing template. These are the templates used for 2D-drawings. These templates do not require a master model
Created in NX8.0.0.
License requirements : drafting ("DRAFTING")
templateType | templatetype |
NXOpen::Drawings::MarkAsTemplateBuilder::TemplateTypeEnum NXOpen::Drawings::MarkAsTemplateBuilder::TemplateType | ( | ) |
Returns the template Type will be one of the following: Sheet To save it as Sheet template.
When using Sheet templates, NX adds drawing sheets based on the template to the current work part. Master Model Drawing To save it as Master Model Drawing template. When using Master Model Drawing templates, NX create a new master model drawing from the current part. NX creates a new drawing part from the template and includes the current model as a component. 2D-Drawing To save it as 2D Drawing template. These are the templates used for 2D-drawings. These templates do not require a master model
Created in NX8.0.0.
License requirements : None