SaveConstraintsBuilder Class¶
-
class
NXOpen.GeometricUtilities.
SaveConstraintsBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a builder for a Save Constraints.
SaveConstraintsBuilder is not supported in KF.
New in version NX7.0.0.
Properties¶
Property | Description |
---|---|
SaveConstraints | Returns or sets the flag indicating whether to save the constraints or not |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
SaveConstraints¶
-
SaveConstraintsBuilder.
SaveConstraints
¶ Returns or sets the flag indicating whether to save the constraints or not
-------------------------------------
Getter Method
Signature
SaveConstraints()
Returns: Flag indicating whether to save the constraints Return type: bool New in version NX7.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SaveConstraints(isSaveConstraints)
Parameters: isSaveConstraints (bool) – Flag indicating whether to save the constraints New in version NX7.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
Validate¶
-
SaveConstraintsBuilder.
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.