ModelUpdateOptimOptionsBuilder Class¶
-
class
NXOpen.CAE.ModelUpdateOptimOptionsBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.CAE.ModelUpdateOptimOptionsBuilderTo create a new instance of this class, use
NXOpen.CAE.ModelUpdateSolution.CreateOptimOptionsBuilder()New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| DesignVarLinearRange | Returns or sets the design variable linear range |
| DesignVarWeight | Returns or sets the design variable weight |
| GaOptNumGenerations | Returns or sets the genetic algorithm optimizer number of generations |
| GaOptNumGenes | Returns or sets the genetic algorithm optimizer number of genes |
| GaOptNumIndividuals | Returns or sets the genetic algorithm optimizer number of individuals |
| LeastSqrAutoFilter | Returns or sets the least squares auto filter design variable |
| MaxIterations | Returns or sets the maximum iterations |
| Method | Returns or sets the method |
| MinImprovement | Returns or sets the minimum improvement |
| SteepestDescDVarStep | Returns or sets the steepest descent design variable step |
| SteepestDescMaxInnerIter | Returns or sets the steepest descent max inner iterations |
| SteepestDescMethod | Returns or sets the steepest descent method |
| 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. |
| GetObject | Returns the object currently being edited by this builder. |
| Optimize | Do the optimization of model update |
| 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. |
Enumerations¶
| ModelUpdateOptimOptionsBuilderMethodChoice Enumeration | the method of the optimizer |
| ModelUpdateOptimOptionsBuilderSteepestDescMethodChoice Enumeration | the mode of the Steepest Descent method |
Property Detail¶
DesignVarLinearRange¶
-
ModelUpdateOptimOptionsBuilder.DesignVarLinearRange¶ Returns or sets the design variable linear range
-------------------------------------Getter Method
Signature
DesignVarLinearRangeReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DesignVarLinearRangeParameters: designVarLinearRange (float) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
DesignVarWeight¶
-
ModelUpdateOptimOptionsBuilder.DesignVarWeight¶ Returns or sets the design variable weight
-------------------------------------Getter Method
Signature
DesignVarWeightReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DesignVarWeightParameters: designVarWeight (float) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
GaOptNumGenerations¶
-
ModelUpdateOptimOptionsBuilder.GaOptNumGenerations¶ Returns or sets the genetic algorithm optimizer number of generations
-------------------------------------Getter Method
Signature
GaOptNumGenerationsReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GaOptNumGenerationsParameters: gaOptNumGenerations (int) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
GaOptNumGenes¶
-
ModelUpdateOptimOptionsBuilder.GaOptNumGenes¶ Returns or sets the genetic algorithm optimizer number of genes
-------------------------------------Getter Method
Signature
GaOptNumGenesReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GaOptNumGenesParameters: gaOptNumGenes (int) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
GaOptNumIndividuals¶
-
ModelUpdateOptimOptionsBuilder.GaOptNumIndividuals¶ Returns or sets the genetic algorithm optimizer number of individuals
-------------------------------------Getter Method
Signature
GaOptNumIndividualsReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GaOptNumIndividualsParameters: gaOptNumIndividuals (int) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
LeastSqrAutoFilter¶
-
ModelUpdateOptimOptionsBuilder.LeastSqrAutoFilter¶ Returns or sets the least squares auto filter design variable
-------------------------------------Getter Method
Signature
LeastSqrAutoFilterReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LeastSqrAutoFilterParameters: leastSqrAutoFilter (bool) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
MaxIterations¶
-
ModelUpdateOptimOptionsBuilder.MaxIterations¶ Returns or sets the maximum iterations
-------------------------------------Getter Method
Signature
MaxIterationsReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaxIterationsParameters: maxIterations (int) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
Method¶
-
ModelUpdateOptimOptionsBuilder.Method¶ Returns or sets the method
-------------------------------------Getter Method
Signature
MethodReturns: Return type: NXOpen.CAE.ModelUpdateOptimOptionsBuilderMethodChoiceNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MethodParameters: method ( NXOpen.CAE.ModelUpdateOptimOptionsBuilderMethodChoice) –New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
MinImprovement¶
-
ModelUpdateOptimOptionsBuilder.MinImprovement¶ Returns or sets the minimum improvement
-------------------------------------Getter Method
Signature
MinImprovementReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MinImprovementParameters: minImprovement (float) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
SteepestDescDVarStep¶
-
ModelUpdateOptimOptionsBuilder.SteepestDescDVarStep¶ Returns or sets the steepest descent design variable step
-------------------------------------Getter Method
Signature
SteepestDescDVarStepReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SteepestDescDVarStepParameters: steepestDescDVarStep (float) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
SteepestDescMaxInnerIter¶
-
ModelUpdateOptimOptionsBuilder.SteepestDescMaxInnerIter¶ Returns or sets the steepest descent max inner iterations
-------------------------------------Getter Method
Signature
SteepestDescMaxInnerIterReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SteepestDescMaxInnerIterParameters: steepestDescMaxInnerIter (int) – New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
SteepestDescMethod¶
-
ModelUpdateOptimOptionsBuilder.SteepestDescMethod¶ Returns or sets the steepest descent method
-------------------------------------Getter Method
Signature
SteepestDescMethodReturns: Return type: NXOpen.CAE.ModelUpdateOptimOptionsBuilderSteepestDescMethodChoiceNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SteepestDescMethodParameters: steepestDescMethod ( NXOpen.CAE.ModelUpdateOptimOptionsBuilderSteepestDescMethodChoice) –New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
Method Detail¶
Optimize¶
-
ModelUpdateOptimOptionsBuilder.Optimize¶ Do the optimization of model update
Signature
Optimize()New in version NX7.5.0.
License requirements: nx_correl_update (“FE Model Update”)
Validate¶
-
ModelUpdateOptimOptionsBuilder.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.