ThicknessBuilder Class¶
-
class
NXOpen.CAE.ThicknessBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.CAE.ThicknessBuilderTo 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 |
| GetNodeThickness | The method to access average nodal thickness |
| 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
AllMeshContextReturns: All displayed meshes flag Return type: bool New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
AllMeshContextParameters: 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
ElementReturns: Return type: NXOpen.CAE.SelectElementsBuilderNew in version NX6.0.1.
License requirements: None.
EntityOption¶
-
ThicknessBuilder.EntityOption¶ Returns or sets the entity option
-------------------------------------Getter Method
Signature
EntityOptionReturns: Return type: NXOpen.CAE.ThicknessBuilderEntityTypeNew in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
EntityOptionParameters: 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
HighThicknessColorReturns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
HighThicknessColorParameters: 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
LowThicknessColorReturns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
LowThicknessColorParameters: 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
MeshContextReturns: Return type: NXOpen.CAE.MeshNew in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
MeshContextParameters: 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
MidThicknessColorReturns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
MidThicknessColorParameters: 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
NodeReturns: Return type: NXOpen.CAE.SelectFENodeListNew in version NX6.0.1.
License requirements: None.
Scale¶
-
ThicknessBuilder.Scale¶ Returns or sets the thickness scale
-------------------------------------Getter Method
Signature
ScaleReturns: Return type: float New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
ScaleParameters: 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
ZeroThicknessColorReturns: Return type: Id New in version NX6.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
ZeroThicknessColorParameters: 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.