Mesh0dBuilder Class¶
-
class
NXOpen.CAE.Mesh0dBuilder¶ Bases:
NXOpen.BuilderRepresents 0D Mesh * Used to create a
NXOpen.CAE.Mesh0dTo create a new instance of this class, use
NXOpen.CAE.MeshManager.CreateMesh0dBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| CombineBody | Returns or sets the combine body option |
| Csys | Returns or sets the csys of lumped mass element |
| CsysOption | Returns or sets the method to be used for translating the selected elements |
| ElementType | Returns the element type builder. |
| ExpressionMass | Returns the mass expression of the lumped mass element |
| LmEntitySelList | Returns the selection objects |
| LmPointSelection | Returns the point selection for element creation |
| MeshCreateOption | Returns or sets the mesh creation option |
| PropertyTable | Returns the property table associated with the mesh. |
| SelectionList | Returns the selection objects |
| Tag | Returns the Tag for this object. |
| TotalMass | Returns or sets the use total mass option |
| XOffset | Returns the x-offset from cg of the lumped mass element |
| YOffset | Returns the y-offset from cg of the lumped mass element |
| ZOffset | Returns the z-offset from cg of the lumped mass element |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitMesh | Commits the creation of the NXOpen.CAE.Mesh0d |
| 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¶
| Mesh0dBuilderMeshCreationType Enumeration | the 0d mesh creation option |
Property Detail¶
CombineBody¶
-
Mesh0dBuilder.CombineBody¶ Returns or sets the combine body option
-------------------------------------Getter Method
Signature
CombineBodyReturns: Option to Create either 0d mesh or Lumped Mass Element Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CombineBodyParameters: isCombineBody (bool) – New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Csys¶
-
Mesh0dBuilder.Csys¶ Returns or sets the csys of lumped mass element
-------------------------------------Getter Method
Signature
CsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
-------------------------------------Setter Method
Signature
CsysParameters: csys ( NXOpen.CoordinateSystem) –New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
CsysOption¶
-
Mesh0dBuilder.CsysOption¶ Returns or sets the method to be used for translating the selected elements
-------------------------------------Getter Method
Signature
CsysOptionReturns: Return type: int New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CsysOptionParameters: csysOption (int) – New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
ElementType¶
-
Mesh0dBuilder.ElementType¶ Returns the element type builder.
-------------------------------------Getter Method
Signature
ElementTypeReturns: Return type: NXOpen.CAE.ElementTypeBuilderNew in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
ExpressionMass¶
-
Mesh0dBuilder.ExpressionMass¶ Returns the mass expression of the lumped mass element
-------------------------------------Getter Method
Signature
ExpressionMassReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
LmEntitySelList¶
-
Mesh0dBuilder.LmEntitySelList¶ Returns the selection objects
-------------------------------------Getter Method
Signature
LmEntitySelListReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
LmPointSelection¶
-
Mesh0dBuilder.LmPointSelection¶ Returns the point selection for element creation
-------------------------------------Getter Method
Signature
LmPointSelectionReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
MeshCreateOption¶
-
Mesh0dBuilder.MeshCreateOption¶ Returns or sets the mesh creation option
-------------------------------------Getter Method
Signature
MeshCreateOptionReturns: Option to Create either 0d mesh or Lumped Mass Element Return type: NXOpen.CAE.Mesh0dBuilderMeshCreationTypeNew in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MeshCreateOptionParameters: meshCreationOption ( NXOpen.CAE.Mesh0dBuilderMeshCreationType) –New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
PropertyTable¶
-
Mesh0dBuilder.PropertyTable¶ Returns the property table associated with the mesh.
The property table contains the parameters needed for the generation of the mesh.
-------------------------------------Getter Method
Signature
PropertyTableReturns: Mesh property table Return type: NXOpen.CAE.PropertyTableNew in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
SelectionList¶
-
Mesh0dBuilder.SelectionList¶ Returns the selection objects
-------------------------------------Getter Method
Signature
SelectionListReturns: Return type: NXOpen.SelectDisplayableObjectListNew in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
TotalMass¶
-
Mesh0dBuilder.TotalMass¶ Returns or sets the use total mass option
-------------------------------------Getter Method
Signature
TotalMassReturns: Option to Create either 0d mesh or Lumped Mass Element Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TotalMassParameters: isTotalMass (bool) – New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
XOffset¶
-
Mesh0dBuilder.XOffset¶ Returns the x-offset from cg of the lumped mass element
-------------------------------------Getter Method
Signature
XOffsetReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
YOffset¶
-
Mesh0dBuilder.YOffset¶ Returns the y-offset from cg of the lumped mass element
-------------------------------------Getter Method
Signature
YOffsetReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
ZOffset¶
-
Mesh0dBuilder.ZOffset¶ Returns the z-offset from cg of the lumped mass element
-------------------------------------Getter Method
Signature
ZOffsetReturns: Return type: NXOpen.ExpressionNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Method Detail¶
CommitMesh¶
-
Mesh0dBuilder.CommitMesh¶ Commits the creation of the
NXOpen.CAE.Mesh0dSignature
CommitMesh()Returns: Return type: list of NXOpen.CAE.MeshNew in version NX6.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”)
Validate¶
-
Mesh0dBuilder.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.