ElementCreateBuilder Class¶
-
class
NXOpen.CAE.
ElementCreateBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.CAE.ElementCreateBuilder
which allows you to manually create elements from existing nodes.The following element topologies are supported
- 0D or Point elements, requires 1 node to define
- 1D or Beam elements, requires 2 nodes to define
- 2D or Shell elements
- Linear Tria elements, requires 3 corner nodes to define.
- Parabolic Tria elements, requires 6 nodes to define ( 3 corner and 3 mid nodes ).
- Linear Quad elements, requires 4 corner nodes to define.
- Parabolic Quad elements, requires 8 nodes to define ( 4 corner and 4 mid nodes ).
<br/>When specifying nodes for Shell elements with mid nodes, the input order is sequential. Corner, Mid, Corner, Mod, …
3 5 / / / / 4—————3 7——-6——-5 / / | | | | / 6 4 | | | | / / | | 8 4 / / | | | | / / | | | | 1—————2 1——-2——-3 1—————2 1——-2——-3 Tria(3) Tria(6) Quad(4) Quad(8)
- 3D or Solid elements, NOTE: not all of these Solid types can be created through the UI
- Linear Tetra elements, requires 4 corner nodes to define.
- Parabolic Tetra elements, requires 10 nodes to define ( 4 corner and 6 mid nodes ).
- Linear Penta elements, requires 6 corner nodes to define.
- Parabolic Penta elements, requires 15 nodes to define ( 6 corner and 9 mid nodes ).
- Linear Hexa elements, requires 8 corner nodes to define.
- Parabolic Hexa elements, requires 20 nodes to define ( 8 corner and 12 mid nodes ).
- Linear Pyramid elements, requires 5 corner nodes to define.
- Parabolic Pyramid elements, requires 13 nodes to define ( 5 corner and 8 mid nodes ).
<br/>When specifying nodes for Solid elements, the input order(connectivity) is the same as is defined in Nastran. All Corners first and then all Mid nodes. <br/>
To create a new instance of this class, use
NXOpen.CAE.NodeElementManager.CreateElementCreateBuilder()
New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
CollectorName | Returns or sets the mesh collector name |
ElementDimensionOption | Returns or sets the element dimension option |
ElementType | Returns the element type builder. |
ExportMesh | Returns or sets the option which indicates whether mesh is exported to solver or not. |
Increment | Returns or sets the increment |
Label | Returns or sets the label |
MeshName | Returns or sets the mesh name |
NeutralName | Returns or sets the element neutral name |
NewMeshOption | Returns or sets the new mesh option |
Node | Returns the selected node |
Point | Returns the selected point |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CreateCollector | Create mesh collector |
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. |
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¶
ElementCreateBuilderElemDimType Enumeration | Dimension of the element to be created |
ElementCreateBuilderNewMeshType Enumeration | Option to create new mesh or add to existing mesh |
Property Detail¶
CollectorName¶
-
ElementCreateBuilder.
CollectorName
¶ Returns or sets the mesh collector name
-------------------------------------
Getter Method
Signature
CollectorName
Returns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CollectorName
Parameters: collectorName (str) – New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
ElementDimensionOption¶
-
ElementCreateBuilder.
ElementDimensionOption
¶ Returns or sets the element dimension option
-------------------------------------
Getter Method
Signature
ElementDimensionOption
Returns: Return type: NXOpen.CAE.ElementCreateBuilderElemDimType
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ElementDimensionOption
Parameters: elementDimensionOption ( NXOpen.CAE.ElementCreateBuilderElemDimType
) –New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
ElementType¶
-
ElementCreateBuilder.
ElementType
¶ Returns the element type builder.
-------------------------------------
Getter Method
Signature
ElementType
Returns: Return type: NXOpen.CAE.ElementTypeBuilder
New in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
ExportMesh¶
-
ElementCreateBuilder.
ExportMesh
¶ Returns or sets the option which indicates whether mesh is exported to solver or not.
-------------------------------------
Getter Method
Signature
ExportMesh
Returns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ExportMesh
Parameters: fExportMesh (bool) – New in version NX10.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Increment¶
-
ElementCreateBuilder.
Increment
¶ Returns or sets the increment
-------------------------------------
Getter Method
Signature
Increment
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Increment
Parameters: increment (int) – New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Label¶
-
ElementCreateBuilder.
Label
¶ Returns or sets the label
-------------------------------------
Getter Method
Signature
Label
Returns: Return type: int New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Label
Parameters: label (int) – New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
MeshName¶
-
ElementCreateBuilder.
MeshName
¶ Returns or sets the mesh name
-------------------------------------
Getter Method
Signature
MeshName
Returns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
MeshName
Parameters: meshName (str) – New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
NeutralName¶
-
ElementCreateBuilder.
NeutralName
¶ Returns or sets the element neutral name
-------------------------------------
Getter Method
Signature
NeutralName
Returns: Return type: str New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NeutralName
Parameters: neutralName (str) – New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
NewMeshOption¶
-
ElementCreateBuilder.
NewMeshOption
¶ Returns or sets the new mesh option
-------------------------------------
Getter Method
Signature
NewMeshOption
Returns: Return type: NXOpen.CAE.ElementCreateBuilderNewMeshType
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
NewMeshOption
Parameters: newMeshOption ( NXOpen.CAE.ElementCreateBuilderNewMeshType
) –New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Node¶
-
ElementCreateBuilder.
Node
¶ Returns the selected node
-------------------------------------
Getter Method
Signature
Node
Returns: Return type: NXOpen.CAE.SelectFENodeList
New in version NX5.0.0.
License requirements: None.
Point¶
-
ElementCreateBuilder.
Point
¶ Returns the selected point
-------------------------------------
Getter Method
Signature
Point
Returns: Return type: NXOpen.SelectTaggedObjectList
New in version NX8.5.0.
License requirements: None.
Method Detail¶
CreateCollector¶
-
ElementCreateBuilder.
CreateCollector
¶ Create mesh collector
Signature
CreateCollector()
New in version NX5.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Validate¶
-
ElementCreateBuilder.
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.