SmoothOptResultsBuilder Class¶
-
class
NXOpen.CAE.SmoothOptResultsBuilder¶ Bases:
NXOpen.BuilderThis builder is meant for optimization results related to material density.
User can display and export results using this builder To create a new instance of this class, use
NXOpen.CAE.SimSimulation.SmoothOptResultsCreateBuilder()Default values.
Property Value AdditionalSmoothingOption None AutomaticDisplayOption 1 GenerateBdf 1 GenerateDensityCsv 0 GenerateStl 1 LowerBoundLatticeArea 0.1 LowerBoundSolidArea 0.3 SmoothDisplayOption 0 SmoothLevel 0.25 New in version NX12.0.0.
Properties¶
| Property | Description |
|---|---|
| AdditionalSmoothingOption | Returns or sets the additonal smoothing option |
| AutomaticDisplayOption | Returns or sets the automatic display option |
| GenerateBdf | Returns or sets the generate bdf |
| GenerateDensityCsv | Returns or sets the generate density csv |
| GenerateStl | Returns or sets the generate stl |
| Iteration | Returns or sets the iteration |
| LoadCase | Returns or sets the load case |
| LowerBoundLatticeArea | Returns or sets the lower bound lattice area |
| LowerBoundSolidArea | Returns or sets the lower bound solid area |
| Result | Returns or sets the result |
| SmoothDisplayOption | Returns or sets the source mesh option |
| SmoothLevel | Returns or sets the smooth level |
| Solution | Returns or sets the solution |
| Tag | Returns the Tag for this object. |
| ViewPortIndex | Returns or sets the view port index |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CreateVerificationSolution | Create verification solution |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| DisplayUpdate | Display update |
| Export | Export model files |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetLatticeAreaColor | Returns the lattice area color |
| GetObject | Returns the object currently being edited by this builder. |
| GetSolidAreaColor | Returns the solid area color |
| SetLatticeAreaColor | Sets the lattice area color |
| SetSolidAreaColor | Sets the solid area color |
| 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¶
| SmoothOptResultsBuilderAdditionalSmoothingType Enumeration | Source mesh type |
Property Detail¶
AdditionalSmoothingOption¶
-
SmoothOptResultsBuilder.AdditionalSmoothingOption¶ Returns or sets the additonal smoothing option
-------------------------------------Getter Method
Signature
AdditionalSmoothingOptionReturns: Return type: NXOpen.CAE.SmoothOptResultsBuilderAdditionalSmoothingTypeNew in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AdditionalSmoothingOptionParameters: sourceMeshOption ( NXOpen.CAE.SmoothOptResultsBuilderAdditionalSmoothingType) –New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
AutomaticDisplayOption¶
-
SmoothOptResultsBuilder.AutomaticDisplayOption¶ Returns or sets the automatic display option
-------------------------------------Getter Method
Signature
AutomaticDisplayOptionReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AutomaticDisplayOptionParameters: automaticDisplayOption (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
GenerateBdf¶
-
SmoothOptResultsBuilder.GenerateBdf¶ Returns or sets the generate bdf
-------------------------------------Getter Method
Signature
GenerateBdfReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GenerateBdfParameters: generateBdf (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
GenerateDensityCsv¶
-
SmoothOptResultsBuilder.GenerateDensityCsv¶ Returns or sets the generate density csv
-------------------------------------Getter Method
Signature
GenerateDensityCsvReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GenerateDensityCsvParameters: generateDensityCsv (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
GenerateStl¶
-
SmoothOptResultsBuilder.GenerateStl¶ Returns or sets the generate stl
-------------------------------------Getter Method
Signature
GenerateStlReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GenerateStlParameters: generateStl (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Iteration¶
-
SmoothOptResultsBuilder.Iteration¶ Returns or sets the iteration
-------------------------------------Getter Method
Signature
IterationReturns: iteration Return type: int New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Setter Method
Signature
IterationParameters: iIteration (int) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
LoadCase¶
-
SmoothOptResultsBuilder.LoadCase¶ Returns or sets the load case
-------------------------------------Getter Method
Signature
LoadCaseReturns: load case Return type: int New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Setter Method
Signature
LoadCaseParameters: iLoadCaseNumber (int) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
LowerBoundLatticeArea¶
-
SmoothOptResultsBuilder.LowerBoundLatticeArea¶ Returns or sets the lower bound lattice area
-------------------------------------Getter Method
Signature
LowerBoundLatticeAreaReturns: Return type: float New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LowerBoundLatticeAreaParameters: lowerBoundLatticeArea (float) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
LowerBoundSolidArea¶
-
SmoothOptResultsBuilder.LowerBoundSolidArea¶ Returns or sets the lower bound solid area
-------------------------------------Getter Method
Signature
LowerBoundSolidAreaReturns: Return type: float New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LowerBoundSolidAreaParameters: lowerBoundSolidArea (float) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Result¶
-
SmoothOptResultsBuilder.Result¶ Returns or sets the result
-------------------------------------Getter Method
Signature
ResultReturns: set result Return type: NXOpen.CAE.ResultNew in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Setter Method
Signature
ResultParameters: result ( NXOpen.CAE.Result) –New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SmoothDisplayOption¶
-
SmoothOptResultsBuilder.SmoothDisplayOption¶ Returns or sets the source mesh option
-------------------------------------Getter Method
Signature
SmoothDisplayOptionReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SmoothDisplayOptionParameters: smoothDisplayOption (bool) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SmoothLevel¶
-
SmoothOptResultsBuilder.SmoothLevel¶ Returns or sets the smooth level
-------------------------------------Getter Method
Signature
SmoothLevelReturns: Return type: float New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SmoothLevelParameters: smoothLevel (float) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Solution¶
-
SmoothOptResultsBuilder.Solution¶ Returns or sets the solution
-------------------------------------Getter Method
Signature
SolutionReturns: set solution Return type: NXOpen.CAE.SimSolutionNew in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
-------------------------------------Setter Method
Signature
SolutionParameters: solution ( NXOpen.CAE.SimSolution) –New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
ViewPortIndex¶
-
SmoothOptResultsBuilder.ViewPortIndex¶ Returns or sets the view port index
-------------------------------------Getter Method
Signature
ViewPortIndexReturns: Return type: int New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ViewPortIndexParameters: viewPortIndex (int) – New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Method Detail¶
CreateVerificationSolution¶
-
SmoothOptResultsBuilder.CreateVerificationSolution¶ Create verification solution
Signature
CreateVerificationSolution()New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
DisplayUpdate¶
-
SmoothOptResultsBuilder.DisplayUpdate¶ Display update
Signature
DisplayUpdate()New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Export¶
-
SmoothOptResultsBuilder.Export¶ Export model files
Signature
Export()New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
GetLatticeAreaColor¶
-
SmoothOptResultsBuilder.GetLatticeAreaColor¶ Returns the lattice area color
Signature
GetLatticeAreaColor()Returns: Array of 3 RGB values, each between 0 and 1 Return type: list of float New in version NX12.0.0.
License requirements: None.
GetSolidAreaColor¶
-
SmoothOptResultsBuilder.GetSolidAreaColor¶ Returns the solid area color
Signature
GetSolidAreaColor()Returns: Array of 3 RGB values, each between 0 and 1 Return type: list of float New in version NX12.0.0.
License requirements: None.
SetLatticeAreaColor¶
-
SmoothOptResultsBuilder.SetLatticeAreaColor¶ Sets the lattice area color
Signature
SetLatticeAreaColor(latticeAreaColor)Parameters: latticeAreaColor (list of float) – Array of 3 RGB values, each between 0 and 1 New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SetSolidAreaColor¶
-
SmoothOptResultsBuilder.SetSolidAreaColor¶ Sets the solid area color
Signature
SetSolidAreaColor(solidAreaColor)Parameters: solidAreaColor (list of float) – Array of 3 RGB values, each between 0 and 1 New in version NX12.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Validate¶
-
SmoothOptResultsBuilder.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.