DieLimitsBuilder Class¶
-
class
NXOpen.Die.
DieLimitsBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Limits a path to a segment of the path.
To create a new instance of this class, use
NXOpen.Die.DieCollection.CreateDieLimits()
New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
Curve | Returns the curve used to set the limits. |
Point1 | Returns the first limit point. |
Point2 | Returns the last limit point. |
RemoveLimitPoints | Returns or sets the indication that limit points are being removed. |
Reverse | Returns or sets the indication that limit points should be reversed. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
GetPath | Get the path used for the limits. |
GetPathObjects | Get the objects used to create the path. |
SetLimitsFromCurve | Set the limits from the endpoints of the input curve. |
SetPath | Set the path used for the limits. |
SetPathObjects | Set the objects used to create the path. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Curve¶
-
DieLimitsBuilder.
Curve
¶ Returns the curve used to set the limits.
The string will be combined into a single curve and the endpoints of the combined curve will be used to set the first and last limit points.
-------------------------------------
Getter Method
Signature
Curve
Returns: Return type: NXOpen.ScCollector
New in version NX7.5.0.
License requirements: None.
Point1¶
-
DieLimitsBuilder.
Point1
¶ Returns the first limit point.
-------------------------------------
Getter Method
Signature
Point1
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX7.5.0.
License requirements: None.
Point2¶
-
DieLimitsBuilder.
Point2
¶ Returns the last limit point.
-------------------------------------
Getter Method
Signature
Point2
Returns: Return type: NXOpen.GeometricUtilities.OnPathDimensionBuilder
New in version NX7.5.0.
License requirements: None.
RemoveLimitPoints¶
-
DieLimitsBuilder.
RemoveLimitPoints
¶ Returns or sets the indication that limit points are being removed.
-------------------------------------
Getter Method
Signature
RemoveLimitPoints
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
RemoveLimitPoints
Parameters: remove (bool) – New in version NX7.5.0.
License requirements: None.
Reverse¶
-
DieLimitsBuilder.
Reverse
¶ Returns or sets the indication that limit points should be reversed.
Setting of 1 indicates to reverse.
-------------------------------------
Getter Method
Signature
Reverse
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Reverse
Parameters: reverse (int) – New in version NX7.5.0.
License requirements: None.
Method Detail¶
GetPath¶
-
DieLimitsBuilder.
GetPath
¶ Get the path used for the limits.
Signature
GetPath()
Returns: Return type: NXOpen.Curve
New in version NX8.0.0.
License requirements: None.
GetPathObjects¶
-
DieLimitsBuilder.
GetPathObjects
¶ Get the objects used to create the path.
Signature
GetPathObjects()
Returns: The opening objects that were used to create the path. Return type: list of NXOpen.NXObject
New in version NX7.5.0.
License requirements: None.
SetLimitsFromCurve¶
-
DieLimitsBuilder.
SetLimitsFromCurve
¶ Set the limits from the endpoints of the input curve.
Signature
SetLimitsFromCurve(curve)
Parameters: curve ( NXOpen.Curve
) – Curve to set limitsNew in version NX8.0.0.
License requirements: None.
SetPath¶
-
DieLimitsBuilder.
SetPath
¶ Set the path used for the limits.
Signature
SetPath(path)
Parameters: path ( NXOpen.Curve
) – Path curveNew in version NX8.0.0.
License requirements: None.
SetPathObjects¶
-
DieLimitsBuilder.
SetPathObjects
¶ Set the objects used to create the path.
Signature
SetPathObjects(objectArray)
Parameters: objectArray (list of NXOpen.NXObject
) – The opening objects that were used to create the path.New in version NX7.5.0.
License requirements: None.
Validate¶
-
DieLimitsBuilder.
Validate
¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.