NX Open C++ Reference Guide
|
Represents a Tooling::CompDrawingBuilder which is used to create or edit the Component Drawing. More...
Public Types | |
enum | ComponentTypeSelection { ComponentTypeSelectionAll } |
Specifies the type of components. More... | |
enum | DrawingType { DrawingTypeNone, DrawingTypeNonMaster, DrawingTypeSelfContained } |
Specifies the drawing type. More... | |
enum | FilterSelection { FilterSelectionType, FilterSelectionDrawing, FilterSelectionAll } |
Specifies the filter of components. More... | |
enum | ProjectionType { ProjectionTypeFirstAngleProjection, ProjectionTypeThirdAngleProjection } |
Specifies the project type. More... | |
Public Member Functions | |
NXOpen::Assemblies::SelectComponent * | Component () |
Returns the component to create drawing. | |
NXOpen::Tooling::CompDrawingBuilder::ComponentTypeSelection | ComponentType () |
Returns the component type in mold or die project assembly. | |
void | CreateAll () |
Creates all drawings. | |
void | CreateDrawing (const NXString &pName, const NXString &dFile, const NXString &dName, const NXString &templateName) |
Creates a drawing. | |
void | DeleteDrawing (const NXString &pName, const NXString &dFile, const NXString &dName, const NXString &templateName) |
Deletes a drawing. | |
NXString | DrawingFileNamingRule () |
Returns the naming rule of drawing files. | |
NXOpen::Tooling::CompDrawingBuilder::DrawingType | DrawingFilter () |
Returns the drawing component drawing filter. | |
NXString | DrawingSheetNamingRule () |
Returns the naming rule of drawing sheets. | |
void | EditDrawing (const NXString &pName, const NXString &dFile, const NXString &dName, const NXString &templateName) |
Edits a drawing. | |
NXOpen::Tooling::CompDrawingBuilder::FilterSelection | Filter () |
Returns the filter to select component for drawing. | |
void | InitConstructor () |
Initializes the component drawing value. | |
bool | IsKeepDrawingOpen () |
Returns the option whether to keep drawing open. | |
int | Margin () |
Returns the margin for user defined drawing template. | |
void | OpenDrawing (const NXString &pName, const NXString &dFile, const NXString &dName, const NXString &templateName) |
Opens a drawing. | |
NXOpen::Tooling::CompDrawingBuilder::ProjectionType | Projection () |
Returns the drawing projection angle. | |
void | SetComponentType (NXOpen::Tooling::CompDrawingBuilder::ComponentTypeSelection componentType) |
Sets the component type in mold or die project assembly. | |
void | SetDrawingFileNamingRule (const NXString &drawingFileNamingRule) |
Sets the naming rule of drawing files. | |
void | SetDrawingFilter (NXOpen::Tooling::CompDrawingBuilder::DrawingType drawingType) |
Sets the drawing component drawing filter. | |
void | SetDrawingSheetNamingRule (const NXString &drawingSheetNamingRule) |
Sets the naming rule of drawing sheets. | |
void | SetFilter (NXOpen::Tooling::CompDrawingBuilder::FilterSelection filter) |
Sets the filter to select component for drawing. | |
void | SetKeepDrawingOpen (bool isKeepDrawingOpen) |
Sets the option whether to keep drawing open. | |
void | SetMargin (int margin) |
Sets the margin for user defined drawing template. | |
void | SetProjection (NXOpen::Tooling::CompDrawingBuilder::ProjectionType projection) |
Sets the drawing projection angle. |
Represents a Tooling::CompDrawingBuilder which is used to create or edit the Component Drawing.
To create a new instance of this class, use Tooling::ToolingDrawingCollection::CreateComponentDrawingBuilder
Default values.
Property | Value |
---|---|
ComponentType |
All |
DrawingFilter |
None |
Filter |
Type |
IsKeepDrawingOpen |
0 |
Margin |
15 |
Projection |
FirstAngleProjection |
Created in NX8.0.0.
Returns the component to create drawing.
Created in NX8.0.0.
License requirements : None
NXOpen::Tooling::CompDrawingBuilder::ComponentTypeSelection NXOpen::Tooling::CompDrawingBuilder::ComponentType | ( | ) |
Returns the component type in mold or die project assembly.
Created in NX8.0.0.
License requirements : None
Creates all drawings.
Created in NX8.0.0.
License requirements : None
void NXOpen::Tooling::CompDrawingBuilder::CreateDrawing | ( | const NXString & | pName, |
const NXString & | dFile, | ||
const NXString & | dName, | ||
const NXString & | templateName | ||
) |
Creates a drawing.
Created in NX8.0.0.
License requirements : None
pName | NOTE: The full Unicode character set is not supported for this parameter. |
dFile | NOTE: The full Unicode character set is not supported for this parameter. |
dName | NOTE: The full Unicode character set is not supported for this parameter. |
templateName | NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Tooling::CompDrawingBuilder::DeleteDrawing | ( | const NXString & | pName, |
const NXString & | dFile, | ||
const NXString & | dName, | ||
const NXString & | templateName | ||
) |
Deletes a drawing.
Created in NX8.0.0.
License requirements : None
pName | NOTE: The full Unicode character set is not supported for this parameter. |
dFile | NOTE: The full Unicode character set is not supported for this parameter. |
dName | NOTE: The full Unicode character set is not supported for this parameter. |
templateName | NOTE: The full Unicode character set is not supported for this parameter. |
Returns the naming rule of drawing files.
Created in NX8.0.0.
License requirements : None
NXOpen::Tooling::CompDrawingBuilder::DrawingType NXOpen::Tooling::CompDrawingBuilder::DrawingFilter | ( | ) |
Returns the drawing component drawing filter.
Created in NX8.0.0.
License requirements : None
Returns the naming rule of drawing sheets.
Created in NX8.0.0.
License requirements : None
void NXOpen::Tooling::CompDrawingBuilder::EditDrawing | ( | const NXString & | pName, |
const NXString & | dFile, | ||
const NXString & | dName, | ||
const NXString & | templateName | ||
) |
Edits a drawing.
Created in NX8.0.0.
License requirements : None
pName | NOTE: The full Unicode character set is not supported for this parameter. |
dFile | NOTE: The full Unicode character set is not supported for this parameter. |
dName | NOTE: The full Unicode character set is not supported for this parameter. |
templateName | NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Tooling::CompDrawingBuilder::FilterSelection NXOpen::Tooling::CompDrawingBuilder::Filter | ( | ) |
Returns the filter to select component for drawing.
Created in NX8.0.0.
License requirements : None
Initializes the component drawing value.
Created in NX8.0.0.
License requirements : None
Returns the option whether to keep drawing open.
Created in NX8.0.0.
License requirements : None
Returns the margin for user defined drawing template.
Created in NX8.0.0.
License requirements : None
void NXOpen::Tooling::CompDrawingBuilder::OpenDrawing | ( | const NXString & | pName, |
const NXString & | dFile, | ||
const NXString & | dName, | ||
const NXString & | templateName | ||
) |
Opens a drawing.
Created in NX8.0.0.
License requirements : None
pName | NOTE: The full Unicode character set is not supported for this parameter. |
dFile | NOTE: The full Unicode character set is not supported for this parameter. |
dName | NOTE: The full Unicode character set is not supported for this parameter. |
templateName | NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Tooling::CompDrawingBuilder::ProjectionType NXOpen::Tooling::CompDrawingBuilder::Projection | ( | ) |
Returns the drawing projection angle.
Created in NX8.0.0.
License requirements : None
void NXOpen::Tooling::CompDrawingBuilder::SetComponentType | ( | NXOpen::Tooling::CompDrawingBuilder::ComponentTypeSelection | componentType | ) |
Sets the component type in mold or die project assembly.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
componentType | componenttype |
void NXOpen::Tooling::CompDrawingBuilder::SetDrawingFileNamingRule | ( | const NXString & | drawingFileNamingRule | ) |
Sets the naming rule of drawing files.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
drawingFileNamingRule | drawingfilenamingrule |
void NXOpen::Tooling::CompDrawingBuilder::SetDrawingFilter | ( | NXOpen::Tooling::CompDrawingBuilder::DrawingType | drawingType | ) |
Sets the drawing component drawing filter.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
drawingType | drawingtype |
void NXOpen::Tooling::CompDrawingBuilder::SetDrawingSheetNamingRule | ( | const NXString & | drawingSheetNamingRule | ) |
Sets the naming rule of drawing sheets.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
drawingSheetNamingRule | drawingsheetnamingrule |
void NXOpen::Tooling::CompDrawingBuilder::SetFilter | ( | NXOpen::Tooling::CompDrawingBuilder::FilterSelection | filter | ) |
Sets the filter to select component for drawing.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
filter | filter |
void NXOpen::Tooling::CompDrawingBuilder::SetKeepDrawingOpen | ( | bool | isKeepDrawingOpen | ) |
Sets the option whether to keep drawing open.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
isKeepDrawingOpen | iskeepdrawingopen |
void NXOpen::Tooling::CompDrawingBuilder::SetMargin | ( | int | margin | ) |
Sets the margin for user defined drawing template.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
margin | margin |
void NXOpen::Tooling::CompDrawingBuilder::SetProjection | ( | NXOpen::Tooling::CompDrawingBuilder::ProjectionType | projection | ) |
Sets the drawing projection angle.
Created in NX8.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
projection | projection |