Modifier and Type | Interface and Description |
---|---|
static class |
PartSheetmetal.BendDefinitionMethodOptions
This enum represents the bend definition method options in preferences.
|
static class |
PartSheetmetal.FlatPatternCalloutOrientationType
This enum represents orientation types for the flat pattern callouts
|
static class |
PartSheetmetal.FlatPatternCalloutTypeDisplay
The members of the following structure are the display data for a
callout in a flat pattern drawing member view.
|
static class |
PartSheetmetal.FlatPatternObjectType
The members of the following enumerated type are used to identify
object types to the FlatPattern API.
|
static class |
PartSheetmetal.FlatPatternObjectTypeDisplay
The members of the following structure are the display data for an
object in a flat pattern drawing member view.
|
static class |
PartSheetmetal.MaterialPropertiesData
This class holds the data returned from
getMaterialProperties(java.lang.String) |
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commits and applies all the settings done with set_callout_type_display
and set_object_type_display.
|
String |
getBendAllowanceFormula()
RETURNS the bend allowance formula
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
PartSheetmetal.BendDefinitionMethodOptions |
getBendDefinitionMethodOption()
RETURNS the bend definition method
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getBendRadius()
RETURNS the bend radius expression
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getBendReliefDepth()
RETURNS the bend relief depth
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getBendReliefWidth()
RETURNS the bend relief width
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
String |
getBendTable()
RETURNS the bend table name
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
double |
getDeviationalToleranceInFlatSolid()
RETURNS the deviational tolerance during Flat Solid simplification
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
PartSheetmetal.FlatPatternCalloutTypeDisplay[] |
getFlatPatternAllCalloutTypeDisplay()
Returns the dialog names, identifiers, and enabled status for all the
available callout types.
|
PartSheetmetal.FlatPatternObjectTypeDisplay[] |
getFlatPatternAllObjectTypeDisplay()
Returns the types, colors, fonts, widths, and enabled status for all the
the available object types.
|
PartSheetmetal.FlatPatternCalloutOrientationType |
getFlatPatternCalloutOrientationType()
Returns the orientation type for flat pattern callouts.
|
String[] |
getFlatPatternCalloutTypeContents(String calloutType)
Returns the contents for a callout type.
|
PartSheetmetal.FlatPatternCalloutTypeDisplay |
getFlatPatternCalloutTypeDisplay(String calloutType)
Returns the display data for a callout type.
|
PartSheetmetal.FlatPatternObjectTypeDisplay |
getFlatPatternObjectTypeDisplay(PartSheetmetal.FlatPatternObjectType objectType)
Returns the display data for a flat pattern object type.
|
NXColor |
getFlexibleCableBottomFaceColor()
RETURNS the bottom face color.
|
NXColor |
getFlexibleCableTopFaceColor()
RETURNS the top face color.
|
FeatureProperty |
getInnerCornerTreatmentType()
RETURNS the inner corner treatment type in Flat as Solid operation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getInnerCornerTreatmentValue()
RETURNS the inner corner treatment value for Flat as Solid operations
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
boolean |
getIsBsplineSimplifiedInFlatSolid()
RETURNS the flag indicating whether B-Splines are simplified as part of the Flat Solid creation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
boolean |
getIsSystemGeneratedBendReliefRemovedInFlatSolid()
RETURNS the flag indicating whether or not system generated bend releifs are removed as part of the Flat Solid creation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
boolean |
getMaintainCircularShapeForHolesInFlatSolid()
Returns the flag indicating whether or not maintain circular shape for holes as part of the Flat Solid creation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
String |
getMaterial()
RETURNS the material name saved with the part
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
String[] |
getMaterialNames()
RETURNS the material names defined in the material standards table
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
PartSheetmetal.MaterialPropertiesData |
getMaterialProperties(String materialName)
RETURNS the material name saved with the part
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
double |
getMinimumArcToleranceInFlatSolid()
RETURNS the minimum arc tolerance during Flat Solid simplification
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getMinimumToolClearance()
Returns the minimum tool clearance expression
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getMinimumWebLength()
Returns the minimum Web Length expression
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getNeutralFactor()
RETURNS the neutral factor
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
FeatureProperty |
getOuterCornerTreatmentType()
RETURNS the outer corner treatment type in Flat as Solid operation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getOuterCornerTreatmentValue()
RETURNS the out corner treatment value for Flat as Solid operations
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression |
getThickness()
RETURNS the thickness expression
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
String |
getTool()
Returns the tool name saved with the part
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
String[] |
getToolNames()
Returns the tool names defined in the material standards table
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
PartSheetmetal.MaterialPropertiesData |
getToolProperties(String toolName)
Returns the tool properties saved with the part
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setBendAllowanceFormula(boolean updateModel,
String bendAllowanceFormula)
SETS the bend allowance formula
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setBendDefinitionMethodOption(boolean updateModel,
PartSheetmetal.BendDefinitionMethodOptions bendDefinitionMethod)
SETS the bend definition method
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setBendRadius(boolean updateModel,
String bendRadius)
The bend radius value
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setBendReliefDepth(boolean updateModel,
String bendReliefDepth)
THE bend relief depth value
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setBendReliefWidth(boolean updateModel,
String bendReliefWidth)
THE bend relief depth value
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setBendTable(boolean updateModel,
String bendTable)
SETS the bend table name
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setDeviationalToleranceInFlatSolid(boolean updateModel,
double deviationalToleranceInFlatSolid)
SETS the deviational tolerance during Flat Solid simplification
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setFlatPatternCalloutOrientationType(PartSheetmetal.FlatPatternCalloutOrientationType orientation)
Sets the orientation type for flat pattern callouts.
|
void |
setFlatPatternCalloutTypeContents(String calloutType,
String[] contents)
Sets the contents for a callout type.
|
void |
setFlatPatternCalloutTypeDisplay(String calloutType,
PartSheetmetal.FlatPatternCalloutTypeDisplay displayData)
Sets the display data for a callout type.
|
void |
setFlatPatternObjectTypeDisplay(boolean updateModel,
PartSheetmetal.FlatPatternObjectType objectType,
PartSheetmetal.FlatPatternObjectTypeDisplay displayData)
Sets the display data for a flat pattern object type.
|
void |
setFlexibleCableBottomFaceColor(NXColor bottomFaceColor)
THE bottom face color.
|
void |
setFlexibleCableTopFaceColor(NXColor topFaceColor)
THE top face color.
|
void |
setInnerCornerTreatmentType(boolean updateModel,
FeatureProperty innerCornerTreatmentType)
SETS the inner corner treatment type in Flat as Solid operation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setInnerCornerTreatmentValue(boolean updateModel,
String innerCornerTreatment)
SETS the inner corner treatment value for Flat as Solid operations
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setIsBsplineSimplifiedInFlatSolid(boolean updateModel,
boolean isBsplineSimplifiedInFlatSolid)
SETS the flag indicating whether or not B-Splines are simplified as part of the Flat Solid creation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setIsSystemGeneratedBendReliefRemovedInFlatSolid(boolean updateModel,
boolean isSystemGeneratedBendReliefRemoved)
SETS the flag indicating whether or not system generated bend releifs are removed as part of the Flat Solid creation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setMaintainCircularShapeForHolesInFlatSolid(boolean updateModel,
boolean isMaintainCircularShapeForHoles)
Sets the flag indicating whether or not maintain circular shape for holes as part of the Flat Solid creation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setMaterial(boolean updateModel,
String standardName)
The material standard
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setMinimumArcToleranceInFlatSolid(boolean updateModel,
double minimumArcToleranceInFlatSolid)
SETS the minimum arc tolerance during Flat Solid simplification
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setMinimumToolClearance(boolean updateModel,
String minToolClearance)
Sets minimum tool clearance expression
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setMinimumWebLength(boolean updateModel,
String minWebLength)
Sets minimum Web Length expression
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setNeutralFactor(boolean updateModel,
String neutralFactor)
THE bend relief depth value
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setOuterCornerTreatmentType(boolean updateModel,
FeatureProperty outerCornerTreatmentType)
SETS the outer corner treatment type in Flat as Solid operation
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setOuterCornerTreatmentValue(boolean updateModel,
String outerCornerTreatment)
THE outer corner treatment value for Flat as Solid operations
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setThickness(boolean updateModel,
String thickness)
THE thickness value string
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
void |
setTool(boolean updateModel,
String standardName)
The tool standard
License requirements: nx_sheet_metal ("NX Sheet Metal") . |
Expression getThickness() throws NXException, RemoteException
NXException
RemoteException
void setThickness(boolean updateModel, String thickness) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelythickness
- default thickness value for NX Sheetmetal solids NXException
RemoteException
Expression getBendRadius() throws NXException, RemoteException
NXException
RemoteException
void setBendRadius(boolean updateModel, String bendRadius) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelybendRadius
- default bend radius value for bend faces NXException
RemoteException
Expression getBendReliefDepth() throws NXException, RemoteException
NXException
RemoteException
void setBendReliefDepth(boolean updateModel, String bendReliefDepth) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelybendReliefDepth
- default depth value for bend relief NXException
RemoteException
Expression getBendReliefWidth() throws NXException, RemoteException
NXException
RemoteException
void setBendReliefWidth(boolean updateModel, String bendReliefWidth) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelybendReliefWidth
- default width value for bend relief NXException
RemoteException
Expression getNeutralFactor() throws NXException, RemoteException
NXException
RemoteException
void setNeutralFactor(boolean updateModel, String neutralFactor) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyneutralFactor
- default neutral factor value for bend relief NXException
RemoteException
Expression getOuterCornerTreatmentValue() throws NXException, RemoteException
NXException
RemoteException
void setOuterCornerTreatmentValue(boolean updateModel, String outerCornerTreatment) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyouterCornerTreatment
- default value for out corner treatment NXException
RemoteException
FeatureProperty getOuterCornerTreatmentType() throws NXException, RemoteException
NXException
RemoteException
void setOuterCornerTreatmentType(boolean updateModel, FeatureProperty outerCornerTreatmentType) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyouterCornerTreatmentType
- outer corner treatment typeNXException
RemoteException
Expression getInnerCornerTreatmentValue() throws NXException, RemoteException
NXException
RemoteException
void setInnerCornerTreatmentValue(boolean updateModel, String innerCornerTreatment) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyinnerCornerTreatment
- default value for inner corner treatment NXException
RemoteException
FeatureProperty getInnerCornerTreatmentType() throws NXException, RemoteException
NXException
RemoteException
void setInnerCornerTreatmentType(boolean updateModel, FeatureProperty innerCornerTreatmentType) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyinnerCornerTreatmentType
- outer corner treatment typeNXException
RemoteException
boolean getIsBsplineSimplifiedInFlatSolid() throws NXException, RemoteException
NXException
RemoteException
void setIsBsplineSimplifiedInFlatSolid(boolean updateModel, boolean isBsplineSimplifiedInFlatSolid) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyisBsplineSimplifiedInFlatSolid
- flagNXException
RemoteException
boolean getIsSystemGeneratedBendReliefRemovedInFlatSolid() throws NXException, RemoteException
NXException
RemoteException
void setIsSystemGeneratedBendReliefRemovedInFlatSolid(boolean updateModel, boolean isSystemGeneratedBendReliefRemoved) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyisSystemGeneratedBendReliefRemoved
- flagNXException
RemoteException
double getMinimumArcToleranceInFlatSolid() throws NXException, RemoteException
NXException
RemoteException
void setMinimumArcToleranceInFlatSolid(boolean updateModel, double minimumArcToleranceInFlatSolid) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyminimumArcToleranceInFlatSolid
- flagNXException
RemoteException
double getDeviationalToleranceInFlatSolid() throws NXException, RemoteException
NXException
RemoteException
void setDeviationalToleranceInFlatSolid(boolean updateModel, double deviationalToleranceInFlatSolid) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelydeviationalToleranceInFlatSolid
- flagNXException
RemoteException
PartSheetmetal.BendDefinitionMethodOptions getBendDefinitionMethodOption() throws NXException, RemoteException
NXException
RemoteException
void setBendDefinitionMethodOption(boolean updateModel, PartSheetmetal.BendDefinitionMethodOptions bendDefinitionMethod) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelybendDefinitionMethod
- bend definition method optionNXException
RemoteException
String getBendTable() throws NXException, RemoteException
NXException
RemoteException
void setBendTable(boolean updateModel, String bendTable) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelybendTable
- bend table nameNXException
RemoteException
String getBendAllowanceFormula() throws NXException, RemoteException
NXException
RemoteException
void setBendAllowanceFormula(boolean updateModel, String bendAllowanceFormula) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelybendAllowanceFormula
- bend allowance formulaNXException
RemoteException
String[] getMaterialNames() throws NXException, RemoteException
NXException
RemoteException
String getMaterial() throws NXException, RemoteException
NXException
RemoteException
PartSheetmetal.MaterialPropertiesData getMaterialProperties(String materialName) throws NXException, RemoteException
materialName
- material NameNXException
RemoteException
void setMaterial(boolean updateModel, String standardName) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelystandardName
- The name of a material from the material standards fileNXException
RemoteException
void commit() throws NXException, RemoteException
NXException
RemoteException
PartSheetmetal.FlatPatternObjectTypeDisplay getFlatPatternObjectTypeDisplay(PartSheetmetal.FlatPatternObjectType objectType) throws NXException, RemoteException
objectType
- The object type for which to return the display data.NXException
RemoteException
void setFlatPatternObjectTypeDisplay(boolean updateModel, PartSheetmetal.FlatPatternObjectType objectType, PartSheetmetal.FlatPatternObjectTypeDisplay displayData) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediately.objectType
- The object type for which to get the display data.displayData
- The display data for the flat pattern object type.NXException
RemoteException
PartSheetmetal.FlatPatternCalloutTypeDisplay getFlatPatternCalloutTypeDisplay(String calloutType) throws NXException, RemoteException
PartFlexiblePrintedCircuitDesign.FlatPatternCalloutTypeDisplay
is separately allocated from the callout_type argument string.
In some cases the new string will contain an
extended form of the callout_type passed in, and that form should
be used for subsequent JA calls, without modification.
calloutType
- The name of the callout type for which to get the display data.NXException
RemoteException
void setFlatPatternCalloutTypeDisplay(String calloutType, PartSheetmetal.FlatPatternCalloutTypeDisplay displayData) throws NXException, RemoteException
calloutType
- The name of the callout type for which to set the display data.displayData
- The display data for the callout type.NXException
RemoteException
PartSheetmetal.FlatPatternObjectTypeDisplay[] getFlatPatternAllObjectTypeDisplay() throws NXException, RemoteException
NXException
RemoteException
PartSheetmetal.FlatPatternCalloutTypeDisplay[] getFlatPatternAllCalloutTypeDisplay() throws NXException, RemoteException
NXException
RemoteException
boolean getMaintainCircularShapeForHolesInFlatSolid() throws NXException, RemoteException
NXException
RemoteException
void setMaintainCircularShapeForHolesInFlatSolid(boolean updateModel, boolean isMaintainCircularShapeForHoles) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyisMaintainCircularShapeForHoles
- flagNXException
RemoteException
Expression getMinimumToolClearance() throws NXException, RemoteException
NXException
RemoteException
void setMinimumToolClearance(boolean updateModel, String minToolClearance) throws NXException, RemoteException
updateModel
- Specifies whether the model be updated immediatelyminToolClearance
- minimum tool clearance value for NX Sheetmetal model NXException
RemoteException
Expression getMinimumWebLength() throws NXException, RemoteException
NXException
RemoteException
void setMinimumWebLength(boolean updateModel, String minWebLength) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelyminWebLength
- minimum Web Length value for NX Sheetmetal model NXException
RemoteException
String[] getToolNames() throws NXException, RemoteException
NXException
RemoteException
String getTool() throws NXException, RemoteException
NXException
RemoteException
PartSheetmetal.MaterialPropertiesData getToolProperties(String toolName) throws NXException, RemoteException
toolName
- tool NameNXException
RemoteException
void setTool(boolean updateModel, String standardName) throws NXException, RemoteException
updateModel
- Specifies whether the solid model be recomputed immediatelystandardName
- The name of a tool from the material standards fileNXException
RemoteException
NXColor getFlexibleCableTopFaceColor() throws NXException, RemoteException
NXException
RemoteException
void setFlexibleCableTopFaceColor(NXColor topFaceColor) throws NXException, RemoteException
topFaceColor
- NXException
RemoteException
NXColor getFlexibleCableBottomFaceColor() throws NXException, RemoteException
NXException
RemoteException
void setFlexibleCableBottomFaceColor(NXColor bottomFaceColor) throws NXException, RemoteException
bottomFaceColor
- NXException
RemoteException
String[] getFlatPatternCalloutTypeContents(String calloutType) throws NXException, RemoteException
calloutType
- The name of the callout type for which to get the content.NXException
RemoteException
void setFlatPatternCalloutTypeContents(String calloutType, String[] contents) throws NXException, RemoteException
calloutType
- The name of the callout type for which to set the content.contents
- The contents for the callout type.NXException
RemoteException
PartSheetmetal.FlatPatternCalloutOrientationType getFlatPatternCalloutOrientationType() throws NXException, RemoteException
NXException
RemoteException
void setFlatPatternCalloutOrientationType(PartSheetmetal.FlatPatternCalloutOrientationType orientation) throws NXException, RemoteException
orientation
- The orientation type for the flat pattern callouts.NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.