DatumConstraint Class¶
-
class
NXOpen.
DatumConstraint
¶ Bases:
NXOpen.TransientObject
Represents a constraint that specifies the location of a
NXOpen.Features.DatumFeature
.To create a new instance of this class, use
NXOpen.Features.DatumBuilder.CreateConstraint()
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
AlternateSolution | Returns |
ArcLength | Returns |
ArcLengthType | Returns or sets |
ConstraintType | Returns or sets |
Geometry | Returns or sets |
Methods¶
Method | Description |
---|---|
Dispose | |
SetAlternateSolution | |
SetArcLength |
Enumerations¶
DatumConstraintCurveOption Enumeration | Specifies the distance on the curve as absolute distance or relative distance as percentage |
DatumConstraintSolution Enumeration | Specifies the alternate solution for datum axis using point on curve method |
DatumConstraintType Enumeration | Specifies different constraint types for selected geometries |
Property Detail¶
AlternateSolution¶
-
DatumConstraint.
AlternateSolution
¶ Returns
-------------------------------------
Getter Method
Signature
AlternateSolution
Returns: Return type: NXOpen.DatumConstraintSolution
New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ArcLength¶
-
DatumConstraint.
ArcLength
¶ Returns
-------------------------------------
Getter Method
Signature
ArcLength
Returns: Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ArcLengthType¶
-
DatumConstraint.
ArcLengthType
¶ Returns or sets
-------------------------------------
Getter Method
Signature
ArcLengthType
Returns: Return type: NXOpen.DatumConstraintCurveOption
New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------
Setter Method
Signature
ArcLengthType
Parameters: option ( NXOpen.DatumConstraintCurveOption
) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ConstraintType¶
-
DatumConstraint.
ConstraintType
¶ Returns or sets
-------------------------------------
Getter Method
Signature
ConstraintType
Returns: Return type: NXOpen.DatumConstraintType
New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------
Setter Method
Signature
ConstraintType
Parameters: constraintType ( NXOpen.DatumConstraintType
) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Geometry¶
-
DatumConstraint.
Geometry
¶ Returns or sets
-------------------------------------
Getter Method
Signature
Geometry
Returns: Return type: NXOpen.DisplayableObject
New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
-------------------------------------
Setter Method
Signature
Geometry
Parameters: geometry ( NXOpen.DisplayableObject
) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
Dispose¶
-
DatumConstraint.
Dispose
¶ Signature
Dispose()
New in version NX4.0.0.
License requirements: None.
SetAlternateSolution¶
-
DatumConstraint.
SetAlternateSolution
¶ Signature
SetAlternateSolution(solution)
Parameters: solution ( NXOpen.DatumConstraintSolution
) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)