SmoothOptResultsBuilder Class

class NXOpen.CAE.SmoothOptResultsBuilder

Bases: NXOpen.Builder

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

Property Detail

AdditionalSmoothingOption

SmoothOptResultsBuilder.AdditionalSmoothingOption

Returns or sets the additonal smoothing option

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

Getter Method

Signature AdditionalSmoothingOption

Returns:
Return type:NXOpen.CAE.SmoothOptResultsBuilderAdditionalSmoothingType

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature AdditionalSmoothingOption

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

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature AutomaticDisplayOption

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

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature GenerateBdf

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

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature GenerateDensityCsv

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

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature GenerateStl

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

Returns: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 Iteration

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

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

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

Returns:
Return type:float

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature LowerBoundLatticeArea

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

Returns:
Return type:float

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature LowerBoundSolidArea

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

Returns:set result
Return type:NXOpen.CAE.Result

New in version NX12.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

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

Setter Method

Signature Result

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

Returns:
Return type:bool

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature SmoothDisplayOption

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

Returns:
Return type:float

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature SmoothLevel

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

Returns:set solution
Return type:NXOpen.CAE.SimSolution

New in version NX12.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)

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

Setter Method

Signature Solution

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

Returns:
Return type:int

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature ViewPortIndex

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