|
NX Open C++ Reference Guide
|
Represents the drafting builder which is used to create electrode drafting. More...
Public Types | |
| enum | CNCTemplateOption { CNCTemplateOptionCncTemplate1, CNCTemplateOptionCncTemplate2 } |
| the template option of cnc sheet type More... | |
| enum | DrawingOption { DrawingOptionMasterModel, DrawingOptionSelfContained } |
| the drawing type More... | |
| enum | EDMTemplateOption { EDMTemplateOptionEdmTemplate1, EDMTemplateOptionEdmTemplate2 } |
| the template option of edm sheet type More... | |
| enum | ModeOption { ModeOptionCreate, ModeOptionAdd, ModeOptionEdit } |
| the drafting mode option More... | |
| enum | NameOption { NameOptionSh1, NameOptionSh2 } |
| the drawing sheet name option More... | |
Public Member Functions | |
| NXOpen::SelectPartList * | BlankComps () |
| Returns the blank components used to create drafting. | |
| bool | CncOption () |
| Returns the option to create cnc sheet type drafting or not. | |
| NXOpen::Tooling::EWDraftingBuilder::CNCTemplateOption | CncTemplate () |
| Returns the template of cnc sheet type to create drafting. | |
| NXOpen::Tooling::EWDraftingBuilder::ModeOption | DraftingMode () |
| Returns the drafting mode: create, add or edit. | |
| NXOpen::Tooling::EWDraftingBuilder::DrawingOption | DrawingType () |
| Returns the drawing type used to create drafting. | |
| bool | EdmOption () |
| Returns the option to create edm sheet type drafting or not. | |
| NXOpen::Tooling::EWDraftingBuilder::EDMTemplateOption | EdmTemplate () |
| Returns the template of edm sheet type to create drafting. | |
| bool | IncludeOption () |
| Returns the option used to include the working component when creating drafting. | |
| NXString | NameRule () |
| Returns the name rule used to create drafting part. | |
| bool | OutputPDF () |
| Returns the option used to output pdf file when creating drafting. | |
| bool | OutputSameSheet () |
| Returns the option used to output all the blanks in the same sheet. | |
| bool | RenameComponent () |
| Returns the option used to rename the part which is created. | |
| void | SetCncOption (bool cncOption) |
| Sets the option to create cnc sheet type drafting or not. | |
| void | SetCncTemplate (NXOpen::Tooling::EWDraftingBuilder::CNCTemplateOption cncTemplate) |
| Sets the template of cnc sheet type to create drafting. | |
| void | SetDraftingMode (NXOpen::Tooling::EWDraftingBuilder::ModeOption draftingMode) |
| Sets the drafting mode: create, add or edit. | |
| void | SetDrawingType (NXOpen::Tooling::EWDraftingBuilder::DrawingOption drawingType) |
| Sets the drawing type used to create drafting. | |
| void | SetEdmOption (bool edmOption) |
| Sets the option to create edm sheet type drafting or not. | |
| void | SetEdmTemplate (NXOpen::Tooling::EWDraftingBuilder::EDMTemplateOption edmTemplate) |
| Sets the template of edm sheet type to create drafting. | |
| void | SetIncludeOption (bool includeOption) |
| Sets the option used to include the working component when creating drafting. | |
| void | SetNameRule (const NXString &nameRule) |
| Sets the name rule used to create drafting part. | |
| void | SetNameRule (const char *nameRule) |
| Sets the name rule used to create drafting part. | |
| void | SetOutputPDF (bool outputPDF) |
| Sets the option used to output pdf file when creating drafting. | |
| void | SetOutputSameSheet (bool outputSameSheet) |
| Sets the option used to output all the blanks in the same sheet. | |
| void | SetRenameComponent (bool renameComponent) |
| Sets the option used to rename the part which is created. | |
| void | SetSheetName (NXOpen::Tooling::EWDraftingBuilder::NameOption sheetName) |
| Sets the sheet name option used to edit drafting. | |
| NXOpen::Tooling::EWDraftingBuilder::NameOption | SheetName () |
| Returns the sheet name option used to edit drafting. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents the drafting builder which is used to create electrode drafting.
To create a new instance of this class, use Tooling::ElectrodeDesignCollection::CreateEwdraftingBuilder
Default values.
| Property | Value |
|---|---|
|
CncOption |
0 |
|
CncTemplate |
CncTemplate1 |
|
DraftingMode |
Create |
|
DrawingType |
MasterModel |
|
EdmOption |
1 |
|
EdmTemplate |
EdmTemplate1 |
|
IncludeOption |
1 |
|
OutputPDF |
0 |
|
OutputSameSheet |
0 |
|
RenameComponent |
0 |
|
SheetName |
Sh1 |
Created in NX8.0.0.
| NXOpen::SelectPartList* NXOpen::Tooling::EWDraftingBuilder::BlankComps | ( | ) |
Returns the blank components used to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| bool NXOpen::Tooling::EWDraftingBuilder::CncOption | ( | ) |
Returns the option to create cnc sheet type drafting or not.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| NXOpen::Tooling::EWDraftingBuilder::CNCTemplateOption NXOpen::Tooling::EWDraftingBuilder::CncTemplate | ( | ) |
Returns the template of cnc sheet type to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| NXOpen::Tooling::EWDraftingBuilder::ModeOption NXOpen::Tooling::EWDraftingBuilder::DraftingMode | ( | ) |
Returns the drafting mode: create, add or edit.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| NXOpen::Tooling::EWDraftingBuilder::DrawingOption NXOpen::Tooling::EWDraftingBuilder::DrawingType | ( | ) |
Returns the drawing type used to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| bool NXOpen::Tooling::EWDraftingBuilder::EdmOption | ( | ) |
Returns the option to create edm sheet type drafting or not.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| NXOpen::Tooling::EWDraftingBuilder::EDMTemplateOption NXOpen::Tooling::EWDraftingBuilder::EdmTemplate | ( | ) |
Returns the template of edm sheet type to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| bool NXOpen::Tooling::EWDraftingBuilder::IncludeOption | ( | ) |
Returns the option used to include the working component when creating drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| NXString NXOpen::Tooling::EWDraftingBuilder::NameRule | ( | ) |
Returns the name rule used to create drafting part.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| bool NXOpen::Tooling::EWDraftingBuilder::OutputPDF | ( | ) |
Returns the option used to output pdf file when creating drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| bool NXOpen::Tooling::EWDraftingBuilder::OutputSameSheet | ( | ) |
Returns the option used to output all the blanks in the same sheet.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| bool NXOpen::Tooling::EWDraftingBuilder::RenameComponent | ( | ) |
Returns the option used to rename the part which is created.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| void NXOpen::Tooling::EWDraftingBuilder::SetCncOption | ( | bool | cncOption | ) |
Sets the option to create cnc sheet type drafting or not.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| cncOption | cncoption |
| void NXOpen::Tooling::EWDraftingBuilder::SetCncTemplate | ( | NXOpen::Tooling::EWDraftingBuilder::CNCTemplateOption | cncTemplate | ) |
Sets the template of cnc sheet type to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| cncTemplate | cnctemplate |
| void NXOpen::Tooling::EWDraftingBuilder::SetDraftingMode | ( | NXOpen::Tooling::EWDraftingBuilder::ModeOption | draftingMode | ) |
Sets the drafting mode: create, add or edit.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| draftingMode | draftingmode |
| void NXOpen::Tooling::EWDraftingBuilder::SetDrawingType | ( | NXOpen::Tooling::EWDraftingBuilder::DrawingOption | drawingType | ) |
Sets the drawing type used to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| drawingType | drawingtype |
| void NXOpen::Tooling::EWDraftingBuilder::SetEdmOption | ( | bool | edmOption | ) |
Sets the option to create edm sheet type drafting or not.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| edmOption | edmoption |
| void NXOpen::Tooling::EWDraftingBuilder::SetEdmTemplate | ( | NXOpen::Tooling::EWDraftingBuilder::EDMTemplateOption | edmTemplate | ) |
Sets the template of edm sheet type to create drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| edmTemplate | edmtemplate |
| void NXOpen::Tooling::EWDraftingBuilder::SetIncludeOption | ( | bool | includeOption | ) |
Sets the option used to include the working component when creating drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| includeOption | includeoption |
| void NXOpen::Tooling::EWDraftingBuilder::SetNameRule | ( | const NXString & | nameRule | ) |
Sets the name rule used to create drafting part.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| nameRule | namerule |
| void NXOpen::Tooling::EWDraftingBuilder::SetNameRule | ( | const char * | nameRule | ) |
Sets the name rule used to create drafting part.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| nameRule | namerule |
| void NXOpen::Tooling::EWDraftingBuilder::SetOutputPDF | ( | bool | outputPDF | ) |
Sets the option used to output pdf file when creating drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| outputPDF | outputpdf |
| void NXOpen::Tooling::EWDraftingBuilder::SetOutputSameSheet | ( | bool | outputSameSheet | ) |
Sets the option used to output all the blanks in the same sheet.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| outputSameSheet | outputsamesheet |
| void NXOpen::Tooling::EWDraftingBuilder::SetRenameComponent | ( | bool | renameComponent | ) |
Sets the option used to rename the part which is created.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| renameComponent | renamecomponent |
| void NXOpen::Tooling::EWDraftingBuilder::SetSheetName | ( | NXOpen::Tooling::EWDraftingBuilder::NameOption | sheetName | ) |
Sets the sheet name option used to edit drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")
| sheetName | sheetname |
| NXOpen::Tooling::EWDraftingBuilder::NameOption NXOpen::Tooling::EWDraftingBuilder::SheetName | ( | ) |
Returns the sheet name option used to edit drafting.
Created in NX8.0.0.
License requirements : nx_electrode_wizard ("NX Electrode Wizard")