DAOConstraintBuilder Class

class NXOpen.CAE.Optimization.DAOConstraintBuilder

Bases: NXOpen.Builder

Represents 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 CategoryType

Returns:Category type
Return type:NXOpen.CAE.Optimization.Category

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature CategoryType

Parameters:categoryType (NXOpen.CAE.Optimization.Category) – Category type

New 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 GeometryType

Returns:Geometry type
Return type:NXOpen.CAE.Optimization.Geometry

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature GeometryType

Parameters:geometryType (NXOpen.CAE.Optimization.Geometry) – Geometry type

New 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 LimitType

Returns:Limit type
Return type:NXOpen.CAE.Optimization.Limit

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitType

Parameters:limitType (NXOpen.CAE.Optimization.Limit) – Limit type

New 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 LimitUnit

Returns:Limit unit
Return type:NXOpen.Unit

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitUnit

Parameters:targetUnit (NXOpen.Unit) – Limit unit

New 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 LimitValue

Returns:Limit value
Return type:float

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LimitValue

Parameters: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 LoadCase

Returns:
Return type:int

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LoadCase

Parameters: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 ModeNumber

Returns:Mode number
Return type:int

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ModeNumber

Parameters: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 Response

Returns:Constraint response
Return type:NXOpen.CAE.Optimization.Response

New in version NX8.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Response

Parameters:constraintResponse (NXOpen.CAE.Optimization.Response) – Constraint response

New 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 ResultMeasure

Returns:
Return type:NXOpen.CAE.ResultMeasure

New in version NX8.5.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ResultMeasure

Parameters: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.DisplayableObject

New 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 geometry

New 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.