Package | Description |
---|---|
nxopen |
Provides classes and interfaces for the NX Open Common API.
|
Modifier and Type | Field and Description |
---|---|
static Sketch.ConstraintClass |
Sketch.ConstraintClass.ANY
Used in query methods that filter by constraint class
to select both types of constraints
|
static Sketch.ConstraintClass |
Sketch.ConstraintClass.DIMENSION
A dimensional constraint
|
static Sketch.ConstraintClass |
Sketch.ConstraintClass.GEOMETRIC
A non-dimension constraint
|
static Sketch.ConstraintClass |
Sketch.ConstraintClass.NOT_CONSTRAINT |
Modifier and Type | Method and Description |
---|---|
static Sketch.ConstraintClass |
Sketch.ConstraintClass.valueOf(int value)
Returns the enum constant of the specified enum type with the specified value.
|
static Sketch.ConstraintClass |
Sketch.ConstraintClass.valueOf(String name)
Returns the enum constant of the specified enum type with the specified name.
|
static Sketch.ConstraintClass[] |
Sketch.ConstraintClass.values()
Returns an array that contains the values for this enum.
|
Modifier and Type | Method and Description |
---|---|
void |
Sketch.deleteConstraintsOnGeometries(Sketch.ConstraintClass conClass,
Sketch.ConstraintGeometry[] objects)
Deletes constraints associated with the input sketch geometry and vertices according to the constraint class, e.g.,
ANY will remove all geometric constraints and convert driving dimensions to reference dimensions. |
SketchConstraint[] |
Sketch.getAllConstraintsOfType(Sketch.ConstraintClass conClass,
Sketch.ConstraintType conType)
Gets all constraints in the sketch of a particular type
License requirements: None. |
SketchConstraint[] |
Sketch.getConstraintsForGeometry(SmartObject geometry,
Sketch.ConstraintClass conClass)
Gets all the constraints associated with a particular geometric item
License requirements: None. |
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.