Mesh0dBuilder Class

class NXOpen.CAE.Mesh0dBuilder

Bases: NXOpen.Builder

Represents 0D Mesh * Used to create a NXOpen.CAE.Mesh0d

To 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 CombineBody

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

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

Returns:
Return type:NXOpen.CoordinateSystem

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

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

Setter Method

Signature Csys

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

Returns:
Return type:int

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature CsysOption

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

Returns:
Return type:NXOpen.CAE.ElementTypeBuilder

New 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 ExpressionMass

Returns:
Return type:NXOpen.Expression

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

LmEntitySelList

Mesh0dBuilder.LmEntitySelList

Returns the selection objects

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

Getter Method

Signature LmEntitySelList

Returns:
Return type:NXOpen.SelectDisplayableObjectList

New 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 LmPointSelection

Returns:
Return type:NXOpen.SelectDisplayableObjectList

New 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 MeshCreateOption

Returns:Option to Create either 0d mesh or Lumped Mass Element
Return type:NXOpen.CAE.Mesh0dBuilderMeshCreationType

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature MeshCreateOption

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

Returns:Mesh property table
Return type:NXOpen.CAE.PropertyTable

New in version NX6.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

SelectionList

Mesh0dBuilder.SelectionList

Returns the selection objects

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

Getter Method

Signature SelectionList

Returns:
Return type:NXOpen.SelectDisplayableObjectList

New 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 TotalMass

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

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

Returns:
Return type:NXOpen.Expression

New 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 YOffset

Returns:
Return type:NXOpen.Expression

New 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 ZOffset

Returns:
Return type:NXOpen.Expression

New in version NX11.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

Method Detail

CommitMesh

Mesh0dBuilder.CommitMesh

Commits the creation of the NXOpen.CAE.Mesh0d

Signature CommitMesh()

Returns:
Return type:list of NXOpen.CAE.Mesh

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