ModelUpdateOptimOptionsBuilder Class¶
-
class
NXOpen.CAE.
ModelUpdateOptimOptionsBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.CAE.ModelUpdateOptimOptionsBuilder
To 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
DesignVarLinearRange()
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DesignVarLinearRange(designVarLinearRange)
Parameters: 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
DesignVarWeight()
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DesignVarWeight(designVarWeight)
Parameters: 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
GaOptNumGenerations()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
GaOptNumGenerations(gaOptNumGenerations)
Parameters: 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
GaOptNumGenes()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
GaOptNumGenes(gaOptNumGenes)
Parameters: 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
GaOptNumIndividuals()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
GaOptNumIndividuals(gaOptNumIndividuals)
Parameters: 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
LeastSqrAutoFilter()
Returns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LeastSqrAutoFilter(leastSqrAutoFilter)
Parameters: 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
MaxIterations()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MaxIterations(maxIterations)
Parameters: 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
Method()
Returns: Return type: NXOpen.CAE.ModelUpdateOptimOptionsBuilderMethodChoice
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Method(method)
Parameters: 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
MinImprovement()
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MinImprovement(minImprovement)
Parameters: 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
SteepestDescDVarStep()
Returns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SteepestDescDVarStep(steepestDescDVarStep)
Parameters: 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
SteepestDescMaxInnerIter()
Returns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SteepestDescMaxInnerIter(steepestDescMaxInnerIter)
Parameters: 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
SteepestDescMethod()
Returns: Return type: NXOpen.CAE.ModelUpdateOptimOptionsBuilderSteepestDescMethodChoice
New in version NX7.5.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
SteepestDescMethod(steepestDescMethod)
Parameters: 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.