PartSketch Class¶
-
class
NXOpen.Preferences.PartSketch¶ Bases:
objectRepresents the set of Sketcher preferences applicable to entire part.
Other Sketch preference settings are available with
NXOpen.Preferences.SessionSketchfor settings applicable to session and withNXOpen.Preferences.SketchPreferencesfor Sketch specific Preferences To obtain an instance of this class, refer toNXOpen.Preferences.PartPreferencesNew in version NX4.0.0.
Properties¶
| Property | Description |
|---|---|
| AutomaticDimensionColor | Returns or sets the sketch automatic dimension color |
| ConflictingColor | Returns or sets the sketch conflicting color |
| CurveColor | Returns or sets the sketch curve color |
| DOFColor | Returns or sets the sketch degree of freedom arrow color |
| DimensionColor | Returns or sets the sketch dimension color |
| FullyDefinedColor | Returns or sets the sketch fully defined constraint color |
| InactiveSketchColor | Returns or sets the inactive sketch color |
| OutOfDateColor | Returns or sets the sketch out of date curve color |
| OverconstrainedColor | Returns or sets the sketch overconstrained color |
| PartiallyDefinedColor | Returns or sets the sketch partially defined constraint color |
| ParticipatingDatumColor | Returns or sets the sketch participating datum curve color |
| ReferenceCurveColor | Returns or sets the sketch reference curve color |
| ReferenceDimensionColor | Returns or sets the sketch reference dimension color |
| UnsolvedCurvesColor | Returns or sets the sketch unsolved curves color |
Methods¶
Property Detail¶
AutomaticDimensionColor¶
-
PartSketch.AutomaticDimensionColor¶ Returns or sets the sketch automatic dimension color
-------------------------------------Getter Method
Signature
AutomaticDimensionColorReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AutomaticDimensionColorParameters: sketchAutomaticDimensionColor (int) – New in version NX7.5.0.
License requirements: None.
ConflictingColor¶
-
PartSketch.ConflictingColor¶ Returns or sets the sketch conflicting color
-------------------------------------Getter Method
Signature
ConflictingColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ConflictingColorParameters: sketchConflictingColor (int) – New in version NX4.0.0.
License requirements: None.
CurveColor¶
-
PartSketch.CurveColor¶ Returns or sets the sketch curve color
-------------------------------------Getter Method
Signature
CurveColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CurveColorParameters: sketchCurveColor (int) – New in version NX4.0.0.
License requirements: None.
DOFColor¶
-
PartSketch.DOFColor¶ Returns or sets the sketch degree of freedom arrow color
-------------------------------------Getter Method
Signature
DOFColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DOFColorParameters: sketchDOFColor (int) – New in version NX4.0.0.
License requirements: None.
DimensionColor¶
-
PartSketch.DimensionColor¶ Returns or sets the sketch dimension color
-------------------------------------Getter Method
Signature
DimensionColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DimensionColorParameters: sketchDimensionColor (int) – New in version NX4.0.0.
License requirements: None.
FullyDefinedColor¶
-
PartSketch.FullyDefinedColor¶ Returns or sets the sketch fully defined constraint color
-------------------------------------Getter Method
Signature
FullyDefinedColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FullyDefinedColorParameters: sketchFullyColor (int) – New in version NX4.0.0.
License requirements: None.
InactiveSketchColor¶
-
PartSketch.InactiveSketchColor¶ Returns or sets the inactive sketch color
-------------------------------------Getter Method
Signature
InactiveSketchColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InactiveSketchColorParameters: sketchInactiveColor (int) – New in version NX4.0.0.
License requirements: None.
OutOfDateColor¶
-
PartSketch.OutOfDateColor¶ Returns or sets the sketch out of date curve color
-------------------------------------Getter Method
Signature
OutOfDateColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OutOfDateColorParameters: sketchOutOfDateColor (int) – New in version NX4.0.0.
License requirements: None.
OverconstrainedColor¶
-
PartSketch.OverconstrainedColor¶ Returns or sets the sketch overconstrained color
-------------------------------------Getter Method
Signature
OverconstrainedColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OverconstrainedColorParameters: sketchOverconstrainedColor (int) – New in version NX4.0.0.
License requirements: None.
PartiallyDefinedColor¶
-
PartSketch.PartiallyDefinedColor¶ Returns or sets the sketch partially defined constraint color
-------------------------------------Getter Method
Signature
PartiallyDefinedColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PartiallyDefinedColorParameters: sketchPartialColor (int) – New in version NX4.0.0.
License requirements: None.
ParticipatingDatumColor¶
-
PartSketch.ParticipatingDatumColor¶ Returns or sets the sketch participating datum curve color
-------------------------------------Getter Method
Signature
ParticipatingDatumColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ParticipatingDatumColorParameters: sketchParticipatingDatumColor (int) – New in version NX4.0.0.
License requirements: None.
ReferenceCurveColor¶
-
PartSketch.ReferenceCurveColor¶ Returns or sets the sketch reference curve color
-------------------------------------Getter Method
Signature
ReferenceCurveColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferenceCurveColorParameters: sketchReferenceCurveColor (int) – New in version NX4.0.0.
License requirements: None.
ReferenceDimensionColor¶
-
PartSketch.ReferenceDimensionColor¶ Returns or sets the sketch reference dimension color
-------------------------------------Getter Method
Signature
ReferenceDimensionColorReturns: Return type: int New in version NX4.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ReferenceDimensionColorParameters: sketchReferenceDimensionColor (int) – New in version NX4.0.0.
License requirements: None.
UnsolvedCurvesColor¶
-
PartSketch.UnsolvedCurvesColor¶ Returns or sets the sketch unsolved curves color
-------------------------------------Getter Method
Signature
UnsolvedCurvesColorReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
UnsolvedCurvesColorParameters: sketchUnsolvedCurvesColor (int) – New in version NX8.5.0.
License requirements: None.