ThicknessBuilder Class¶
-
class
NXOpen.CAE.
ThicknessBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.CAE.ThicknessBuilder
To create a new instance of this class, use
NXOpen.CAE.NodeElementInfoManager.CreateThicknessBuilder
New in version NX6.0.1.
Properties¶
Property | Description |
---|---|
AllMeshContext | Returns or sets the all mesh in context |
Element | Returns the selected elements |
EntityOption | Returns or sets the entity option |
HighThicknessColor | Returns or sets the above high color |
LowThicknessColor | Returns or sets the low color |
MeshContext | Returns or sets the mesh in context |
MidThicknessColor | Returns or sets the mid thickness color |
Node | Returns the selected node |
Scale | Returns or sets the thickness scale |
Tag | Returns the Tag for this object. |
ZeroThicknessColor | Returns or sets the zero thickness color |
Methods¶
Method | Description |
---|---|
Clear | The clear context |
Commit | Commits any edits that have been applied to the builder. |
CreateField | The field creation |
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. |
GetElementThickness | The method to access nodal thickness at corner nodes of an element, If found the output array will have either 4 values for quad elements and 3 values for tria elements @return array of Element Nodal thickness |
GetNodeThickness | The method to access average nodal thickness @return Average thickness at node |
GetObject | Returns the object currently being edited by this builder. |
Plot | The plotting method |
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¶
ThicknessBuilderEntityType Enumeration | Option to Info on Node or Element |
Property Detail¶
AllMeshContext¶
-
ThicknessBuilder.
AllMeshContext
¶ Returns or sets the all mesh in context
-------------------------------------
Getter Method
Signature
AllMeshContext()
Returns: All displayed meshes flag Return type: bool New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
AllMeshContext(fAllMeshes)
Parameters: fAllMeshes (bool) – All displayed meshes flag New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
Element¶
-
ThicknessBuilder.
Element
¶ Returns the selected elements
-------------------------------------
Getter Method
Signature
Element()
Returns: Return type: NXOpen.CAE.SelectElementsBuilder
New in version NX6.0.1.
License requirements: None.
EntityOption¶
-
ThicknessBuilder.
EntityOption
¶ Returns or sets the entity option
-------------------------------------
Getter Method
Signature
EntityOption()
Returns: Return type: NXOpen.CAE.ThicknessBuilderEntityType
New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
EntityOption(entityOption)
Parameters: entityOption ( NXOpen.CAE.ThicknessBuilderEntityType
) –New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
HighThicknessColor¶
-
ThicknessBuilder.
HighThicknessColor
¶ Returns or sets the above high color
-------------------------------------
Getter Method
Signature
HighThicknessColor()
Returns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
HighThicknessColor(highThicknessColor)
Parameters: highThicknessColor (Id) – thickness color New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
LowThicknessColor¶
-
ThicknessBuilder.
LowThicknessColor
¶ Returns or sets the low color
-------------------------------------
Getter Method
Signature
LowThicknessColor()
Returns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
LowThicknessColor(lowThicknessColor)
Parameters: lowThicknessColor (Id) – thickness color New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
MeshContext¶
-
ThicknessBuilder.
MeshContext
¶ Returns or sets the mesh in context
-------------------------------------
Getter Method
Signature
MeshContext()
Returns: Return type: NXOpen.CAE.Mesh
New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
MeshContext(meshContext)
Parameters: meshContext ( NXOpen.CAE.Mesh
) – Mesh for thickness data accessNew in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
MidThicknessColor¶
-
ThicknessBuilder.
MidThicknessColor
¶ Returns or sets the mid thickness color
-------------------------------------
Getter Method
Signature
MidThicknessColor()
Returns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
MidThicknessColor(goodThicknessColor)
Parameters: goodThicknessColor (Id) – thickness color New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
Node¶
-
ThicknessBuilder.
Node
¶ Returns the selected node
-------------------------------------
Getter Method
Signature
Node()
Returns: Return type: NXOpen.CAE.SelectFENodeList
New in version NX6.0.1.
License requirements: None.
Scale¶
-
ThicknessBuilder.
Scale
¶ Returns or sets the thickness scale
-------------------------------------
Getter Method
Signature
Scale()
Returns: Return type: float New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
Scale(scale)
Parameters: scale (float) – scale New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
ZeroThicknessColor¶
-
ThicknessBuilder.
ZeroThicknessColor
¶ Returns or sets the zero thickness color
-------------------------------------
Getter Method
Signature
ZeroThicknessColor()
Returns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------
Setter Method
Signature
ZeroThicknessColor(noThicknessColor)
Parameters: noThicknessColor (Id) – thickness color New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
Method Detail¶
Clear¶
-
ThicknessBuilder.
Clear
¶ The clear context
Signature
Clear()
New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
CreateField¶
-
ThicknessBuilder.
CreateField
¶ The field creation
Signature
CreateField()
New in version NX6.0.2.
License requirements: nx_masterfem (“Finite Element Modeling”)
GetElementThickness¶
-
ThicknessBuilder.
GetElementThickness
¶ The method to access nodal thickness at corner nodes of an element, If found the output array will have either 4 values for quad elements and 3 values for tria elements
Signature
GetElementThickness(element)
Parameters: element ( NXOpen.TaggedObject
) – Valid shell element tagReturns: a tuple Return type: A tuple consisting of (padValue, fFound). padValue is a list of float. array of Element Nodal thickness fFound is a bool. Element result status:found or not found New in version NX7.5.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
GetNodeThickness¶
-
ThicknessBuilder.
GetNodeThickness
¶ The method to access average nodal thickness
Signature
GetNodeThickness(node)
Parameters: node ( NXOpen.TaggedObject
) – Valid shell nodeReturns: a tuple Return type: A tuple consisting of (pdValue, fFound). pdValue is a float. Average thickness at node fFound is a bool. Node result status:found or not found New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
Plot¶
-
ThicknessBuilder.
Plot
¶ The plotting method
Signature
Plot()
New in version NX6.0.1.
License requirements: nx_masterfem (“Finite Element Modeling”)
Validate¶
-
ThicknessBuilder.
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.