DAOConstraintBuilder Class¶
-
class
NXOpen.CAE.Optimization.DAOConstraintBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.CAE.Optimization.DAOConstraintBuilder.To create a new instance of this class, use
NXOpen.CAE.Optimization.DAOSolutionCollection.CreateConstraintBuilder()New in version NX8.0.0.
Properties¶
| Property | Description |
|---|---|
| CategoryType | Returns or sets the category type |
| GeometryType | Returns or sets the geometry type |
| LimitType | Returns or sets the limit type |
| LimitUnit | Returns or sets the limit unit |
| LimitValue | Returns or sets the limit value |
| LoadCase | Returns or sets the frequency load case index |
| ModeNumber | Returns or sets the frequency mode number |
| Response | Returns or sets the constraint response |
| ResultMeasure | Returns or sets the result measure |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetGeometry | Gets the target geometry |
| GetObject | Returns the object currently being edited by this builder. |
| SetGeometry | Sets the target geometry |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
CategoryType¶
-
DAOConstraintBuilder.CategoryType¶ Returns or sets the category type
-------------------------------------Getter Method
Signature
CategoryTypeReturns: Category type Return type: NXOpen.CAE.Optimization.CategoryNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CategoryTypeParameters: categoryType ( NXOpen.CAE.Optimization.Category) – Category typeNew in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
GeometryType¶
-
DAOConstraintBuilder.GeometryType¶ Returns or sets the geometry type
-------------------------------------Getter Method
Signature
GeometryTypeReturns: Geometry type Return type: NXOpen.CAE.Optimization.GeometryNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GeometryTypeParameters: geometryType ( NXOpen.CAE.Optimization.Geometry) – Geometry typeNew in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
LimitType¶
-
DAOConstraintBuilder.LimitType¶ Returns or sets the limit type
-------------------------------------Getter Method
Signature
LimitTypeReturns: Limit type Return type: NXOpen.CAE.Optimization.LimitNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LimitTypeParameters: limitType ( NXOpen.CAE.Optimization.Limit) – Limit typeNew in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
LimitUnit¶
-
DAOConstraintBuilder.LimitUnit¶ Returns or sets the limit unit
-------------------------------------Getter Method
Signature
LimitUnitReturns: Limit unit Return type: NXOpen.UnitNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LimitUnitParameters: targetUnit ( NXOpen.Unit) – Limit unitNew in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
LimitValue¶
-
DAOConstraintBuilder.LimitValue¶ Returns or sets the limit value
-------------------------------------Getter Method
Signature
LimitValueReturns: Limit value Return type: float New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LimitValueParameters: limitValue (float) – Limit value New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
LoadCase¶
-
DAOConstraintBuilder.LoadCase¶ Returns or sets the frequency load case index
-------------------------------------Getter Method
Signature
LoadCaseReturns: Return type: int New in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LoadCaseParameters: loadcase (int) – New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
ModeNumber¶
-
DAOConstraintBuilder.ModeNumber¶ Returns or sets the frequency mode number
-------------------------------------Getter Method
Signature
ModeNumberReturns: Mode number Return type: int New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ModeNumberParameters: modeNumber (int) – Mode number New in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Response¶
-
DAOConstraintBuilder.Response¶ Returns or sets the constraint response
-------------------------------------Getter Method
Signature
ResponseReturns: Constraint response Return type: NXOpen.CAE.Optimization.ResponseNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ResponseParameters: constraintResponse ( NXOpen.CAE.Optimization.Response) – Constraint responseNew in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
ResultMeasure¶
-
DAOConstraintBuilder.ResultMeasure¶ Returns or sets the result measure
-------------------------------------Getter Method
Signature
ResultMeasureReturns: Return type: NXOpen.CAE.ResultMeasureNew in version NX8.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ResultMeasureParameters: resMeas ( NXOpen.CAE.ResultMeasure) –New in version NX8.5.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Method Detail¶
GetGeometry¶
-
DAOConstraintBuilder.GetGeometry¶ Gets the target geometry
Signature
GetGeometry()Returns: Target geometry Return type: list of NXOpen.DisplayableObjectNew in version NX8.0.0.
License requirements: None.
SetGeometry¶
-
DAOConstraintBuilder.SetGeometry¶ Sets the target geometry
Signature
SetGeometry(geometry)Parameters: geometry (list of NXOpen.DisplayableObject) – Target geometryNew in version NX8.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
Validate¶
-
DAOConstraintBuilder.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.