NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Drawings::MarkAsTemplateBuilder Class Reference

Represents a Drawings::MarkAsTemplateBuilder
To create a new instance of this class, use DraftingManager::CreateMarkAsTemplateBuilder

Created in NX8.0.0. More...

Inheritance diagram for NXOpen::Drawings::MarkAsTemplateBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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 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 SetPresentationName (const NXString &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.

Detailed Description

Represents a Drawings::MarkAsTemplateBuilder
To create a new instance of this class, use DraftingManager::CreateMarkAsTemplateBuilder

Created in NX8.0.0.



Member Enumeration Documentation

the action type enum.

Enumerator:
ActionTypeEnumTemplateOnly 

template only

ActionTypeEnumTemplateAndPax 

template and pax

the item type enum.

Enumerator:
ItemTypeEnumAny 

any

ItemTypeEnumNXPart 

nxpart

ItemTypeEnumNXDrawing 

nxdrawing

the relation type enum.

Enumerator:
RelationTypeEnumMaster 

master

RelationTypeEnumSpecification 

specification

RelationTypeEnumManifestation 

manifestation

the template type enum.

Enumerator:
TemplateTypeEnumSheet 

sheet

TemplateTypeEnumReferenceExistingPart 

reference existing part

TemplateTypeEnumStandalone 

standalone


Member Function Documentation

Returns the action type of the part.


Created in NX8.0.0.

License requirements : None

Returns the detailed description for each template.


Created in NX8.0.0.

License requirements : None

Returns the item type of the part.


Created in NX8.0.0.

License requirements : None

Returns the PAX file to be updated or created if it does not exist.


Created in NX8.0.0.

License requirements : None

Returns the presentation name of the template that will be displayed in the File->New dialog.


Created in NX8.0.0.

License requirements : None

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

Sets the action type of the part.


Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
actionTypeactiontype

Sets the detailed description for each template.


Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
descriptiondescription

Sets the item type of the part.


Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
itemTypeitemtype

Sets the PAX file to be updated or created if it does not exist.


Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
filenamefilename

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

Parameters:
presentationNamepresentationname

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

Parameters:
relationTyperelationtype

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

Parameters:
templateTypetemplatetype

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


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