public interface CompDrawingBuilder extends Builder
CompDrawingBuilder
which is
used to create or edit the Component Drawing.
ToolingDrawingCollection.createComponentDrawingBuilder()
Property | Value |
---|---|
ComponentType | All |
DrawingFilter | None |
Filter | Type |
IsKeepDrawingOpen | 0 |
Margin | 15 |
Projection | FirstAngleProjection |
Modifier and Type | Interface and Description |
---|---|
static class |
CompDrawingBuilder.ComponentTypeSelection
Specifies the type of components.
|
static class |
CompDrawingBuilder.DrawingType
Specifies the drawing type.
|
static class |
CompDrawingBuilder.FilterSelection
Specifies the filter of components.
|
static class |
CompDrawingBuilder.ProjectionType
Specifies the project type.
|
Modifier and Type | Method and Description |
---|---|
void |
addCompSheet(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName)
Add a new sheet to a component.
|
SelectComponent |
component()
Returns the component to create drawing.
|
CompDrawingBuilder.ComponentTypeSelection |
componentType()
Returns the component type in mold or die project assembly.
|
void |
createAll()
Creates all drawings.
|
void |
createCompDrawing(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName)
Deprecated.
|
void |
createComponentDrawingCopyAttribute(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName,
String[] attributeTitles,
String[] attributeValues)
Creates a drawing for a component and copy attribute to the drawing part
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
createDrawing(String pName,
String dFile,
String dName,
String templateName)
Deprecated.
Deprecated in NX8.5.0. Use
createCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String) instead.
|
void |
deleteCompDrawing(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName)
Deletes drawings in self-contained part or deletes a master model part with drawings
License requirements: None. |
void |
deleteCompSheet(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName)
Deletes a sheet from a component.
|
void |
deleteDrawing(String pName,
String dFile,
String dName,
String templateName)
Deprecated.
Deprecated in NX8.5.0. Use
deleteCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String) instead.
|
String |
drawingFileNamingRule()
Returns the naming rule of drawing files.
|
CompDrawingBuilder.DrawingType |
drawingFilter()
Returns the drawing component drawing filter.
|
String |
drawingSheetNamingRule()
Returns the naming rule of drawing sheets.
|
void |
editCompDrawing(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName,
String oldSheetName)
Edits a drawing in a component.
|
void |
editDrawing(String pName,
String dFile,
String dName,
String templateName)
Deprecated.
Deprecated in NX8.5.0. Use
editCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) instead.
|
CompDrawingBuilder.FilterSelection |
filter()
Returns the filter to select component for drawing.
|
void |
initConstructor()
Initializes the component drawing value.
|
boolean |
isKeepDrawingOpen()
Returns the option whether to keep drawing open.
|
int |
margin()
Returns the margin for user defined drawing template.
|
double |
marginForView()
Returns the margin for view for user defined drawing template.
|
void |
openCompDrawing(NXObject component,
String componentPartName,
String drawingFileName,
String drawingName,
String templateName)
Opens a drawing in a component.
|
void |
openDrawing(String pName,
String dFile,
String dName,
String templateName)
Deprecated.
Deprecated in NX8.5.0. Use
openCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String) instead.
|
CompDrawingBuilder.ProjectionType |
projection()
Returns the drawing projection angle.
|
void |
setComponentType(CompDrawingBuilder.ComponentTypeSelection componentType)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setDrawingFileNamingRule(String drawingFileNamingRule)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setDrawingFilter(CompDrawingBuilder.DrawingType drawingType)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setDrawingSheetNamingRule(String drawingSheetNamingRule)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setFilter(CompDrawingBuilder.FilterSelection filter)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setKeepDrawingOpen(boolean isKeepDrawingOpen)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setMargin(int margin)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setMarginForView(double marginForView)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setProjection(CompDrawingBuilder.ProjectionType projection)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
void |
setWizardType(int wizardType)
License requirements: ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard") . |
int |
wizardType()
Returns the wizard type attribute
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
CompDrawingBuilder.FilterSelection filter() throws NXException, RemoteException
NXException
RemoteException
void setFilter(CompDrawingBuilder.FilterSelection filter) throws NXException, RemoteException
filter
- NXException
RemoteException
CompDrawingBuilder.ComponentTypeSelection componentType() throws NXException, RemoteException
NXException
RemoteException
void setComponentType(CompDrawingBuilder.ComponentTypeSelection componentType) throws NXException, RemoteException
componentType
- NXException
RemoteException
CompDrawingBuilder.DrawingType drawingFilter() throws NXException, RemoteException
NXException
RemoteException
void setDrawingFilter(CompDrawingBuilder.DrawingType drawingType) throws NXException, RemoteException
drawingType
- NXException
RemoteException
SelectComponent component() throws NXException, RemoteException
NXException
RemoteException
CompDrawingBuilder.ProjectionType projection() throws NXException, RemoteException
NXException
RemoteException
void setProjection(CompDrawingBuilder.ProjectionType projection) throws NXException, RemoteException
projection
- NXException
RemoteException
String drawingFileNamingRule() throws NXException, RemoteException
NXException
RemoteException
void setDrawingFileNamingRule(String drawingFileNamingRule) throws NXException, RemoteException
drawingFileNamingRule
- NXException
RemoteException
String drawingSheetNamingRule() throws NXException, RemoteException
NXException
RemoteException
void setDrawingSheetNamingRule(String drawingSheetNamingRule) throws NXException, RemoteException
drawingSheetNamingRule
- NXException
RemoteException
int margin() throws NXException, RemoteException
NXException
RemoteException
void setMargin(int margin) throws NXException, RemoteException
margin
- NXException
RemoteException
double marginForView() throws NXException, RemoteException
NXException
RemoteException
void setMarginForView(double marginForView) throws NXException, RemoteException
marginForView
- NXException
RemoteException
boolean isKeepDrawingOpen() throws NXException, RemoteException
NXException
RemoteException
void setKeepDrawingOpen(boolean isKeepDrawingOpen) throws NXException, RemoteException
isKeepDrawingOpen
- NXException
RemoteException
void createAll() throws NXException, RemoteException
NXException
RemoteException
void createDrawing(String pName, String dFile, String dName, String templateName) throws NXException, RemoteException
createCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
instead.
pName
- dFile
- dName
- templateName
- NXException
RemoteException
void deleteDrawing(String pName, String dFile, String dName, String templateName) throws NXException, RemoteException
deleteCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
instead.
pName
- dFile
- dName
- templateName
- NXException
RemoteException
void openDrawing(String pName, String dFile, String dName, String templateName) throws NXException, RemoteException
openCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
instead.
pName
- dFile
- dName
- templateName
- NXException
RemoteException
void editDrawing(String pName, String dFile, String dName, String templateName) throws NXException, RemoteException
editCompDrawing(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
instead.
pName
- dFile
- dName
- templateName
- NXException
RemoteException
void initConstructor() throws NXException, RemoteException
NXException
RemoteException
void createCompDrawing(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName) throws NXException, RemoteException
createComponentDrawingCopyAttribute(nxopen.NXObject, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[])
instead.
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name NXException
RemoteException
void deleteCompSheet(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName) throws NXException, RemoteException
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name NXException
RemoteException
void openCompDrawing(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName) throws NXException, RemoteException
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name NXException
RemoteException
void editCompDrawing(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName, String oldSheetName) throws NXException, RemoteException
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name oldSheetName
- old sheet name NXException
RemoteException
void addCompSheet(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName) throws NXException, RemoteException
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name NXException
RemoteException
void deleteCompDrawing(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName) throws NXException, RemoteException
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name NXException
RemoteException
int wizardType() throws NXException, RemoteException
NXException
RemoteException
void setWizardType(int wizardType) throws NXException, RemoteException
wizardType
- NXException
RemoteException
void createComponentDrawingCopyAttribute(NXObject component, String componentPartName, String drawingFileName, String drawingName, String templateName, String[] attributeTitles, String[] attributeValues) throws NXException, RemoteException
component
- componentPartName
- component part name drawingFileName
- drawing file name drawingName
- drawing name templateName
- template name attributeTitles
- attribute titles attributeValues
- attribute values NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.