Modifier and Type | Interface and Description |
---|---|
static class |
SketchPreferences.DimensionLabelType
Describes the different options for displaying dimension labels.
|
Modifier and Type | Method and Description |
---|---|
void |
applySketchPreferences(int dimDisplayFlag)
Applies sketch preferences set by user.
|
double |
constraintSymbolSize()
Returns the constraint symbol size
License requirements: None. |
boolean |
continuousAutoDimensioningSetting()
Returns the option to set continuous auto dimensioning in a sketch on or off.
|
boolean |
createInferredConstraints()
Returns the option to control if inferred constraints are automatically created when curves and points are created in the sketch.
|
SketchPreferences.DimensionLabelType |
dimensionLabel()
Returns the dimension label.
|
boolean |
displayObjectColor()
Returns the toggle that controls whether objects are displayed in their actual color in sketch
License requirements: None. |
boolean |
displayObjectName()
Returns the toggle that controls whether objects are displayed with their names in sketch
License requirements: None. |
double |
fixedTextSize()
Returns the fixed text size.
|
void |
setConstraintSymbolSize(double constraintSize)
Sets the constraint symbol size
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") . |
void |
setContinuousAutoDimensioningSetting(boolean autoDim)
Sets the option to set continuous auto dimensioning in a sketch on or off.
|
void |
setCreateInferredConstraints(boolean createInferredConstraints)
Sets the option to control if inferred constraints are automatically created when curves and points are created in the sketch.
|
void |
setDimensionLabel(SketchPreferences.DimensionLabelType dimensionLabel)
Sets the dimension label.
|
void |
setDisplayObjectColor(boolean displayObjectColor)
Sets the toggle that controls whether objects are displayed in their actual color in sketch
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") . |
void |
setDisplayObjectName(boolean displayObjectName)
Sets the toggle that controls whether objects are displayed with their names in sketch
License requirements: solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING") OR geometric_tol ("GDT") . |
void |
setFixedTextSize(double fixedTextSize)
Sets the fixed text size.
|
void |
setSolvingTolerance(double tolerance)
Sets the sketch solving tolerance.
|
void |
setTextSizeFixed(boolean textSizeFixed)
Sets the option that controls if the text size should be fixed.
|
void |
setUseSolvingTolerance(boolean useTolerance)
Sets the sketch solving tolerance flag.
|
double |
solvingTolerance()
Returns the sketch solving tolerance.
|
boolean |
textSizeFixed()
Returns the option that controls if the text size should be fixed.
|
boolean |
useSolvingTolerance()
Returns the sketch solving tolerance flag.
|
double constraintSymbolSize() throws NXException, RemoteException
NXException
RemoteException
void setConstraintSymbolSize(double constraintSize) throws NXException, RemoteException
constraintSize
- NXException
RemoteException
SketchPreferences.DimensionLabelType dimensionLabel() throws NXException, RemoteException
NXException
RemoteException
void setDimensionLabel(SketchPreferences.DimensionLabelType dimensionLabel) throws NXException, RemoteException
dimensionLabel
- NXException
RemoteException
void applySketchPreferences(int dimDisplayFlag) throws NXException, RemoteException
AnnotationManager.makePmi(Annotation)
in an active sketch or EditDimensionBuilder.displayAsPmi()
and EditDimensionBuilder.setDisplayAsPmi(boolean)
when not in an active sketch.
dimDisplayFlag
- If sketch dimensions are already displayed outside of an active sketch,
Set 0 to turn off the display of dimensions outside of the active sketch.NXException
RemoteException
boolean displayObjectColor() throws NXException, RemoteException
NXException
RemoteException
void setDisplayObjectColor(boolean displayObjectColor) throws NXException, RemoteException
displayObjectColor
- NXException
RemoteException
boolean createInferredConstraints() throws NXException, RemoteException
NXException
RemoteException
void setCreateInferredConstraints(boolean createInferredConstraints) throws NXException, RemoteException
createInferredConstraints
- NXException
RemoteException
boolean textSizeFixed() throws NXException, RemoteException
NXException
RemoteException
void setTextSizeFixed(boolean textSizeFixed) throws NXException, RemoteException
textSizeFixed
- NXException
RemoteException
double fixedTextSize() throws NXException, RemoteException
NXException
RemoteException
void setFixedTextSize(double fixedTextSize) throws NXException, RemoteException
fixedTextSize
- NXException
RemoteException
boolean continuousAutoDimensioningSetting() throws NXException, RemoteException
NXException
RemoteException
void setContinuousAutoDimensioningSetting(boolean autoDim) throws NXException, RemoteException
autoDim
- NXException
RemoteException
boolean useSolvingTolerance() throws NXException, RemoteException
NXException
RemoteException
void setUseSolvingTolerance(boolean useTolerance) throws NXException, RemoteException
useTolerance
- NXException
RemoteException
double solvingTolerance() throws NXException, RemoteException
NXException
RemoteException
void setSolvingTolerance(double tolerance) throws NXException, RemoteException
tolerance
- NXException
RemoteException
boolean displayObjectName() throws NXException, RemoteException
NXException
RemoteException
void setDisplayObjectName(boolean displayObjectName) throws NXException, RemoteException
displayObjectName
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.