Mesh2dBuilder Class

class NXOpen.CAE.Mesh2dBuilder

Bases: NXOpen.Builder

Represents 2D Mesh * Used to create a NXOpen.CAE.Mesh2d

To create a new instance of this class, use NXOpen.CAE.MeshManager.CreateMesh2dBuilder()

New in version NX6.0.0.

Properties

Property Description
AutoResetOption Returns or sets the auto reset geometry option.
ElementType Returns the element type builder.
ExportMesh Returns or sets the option which indicates whether mesh is exported to solver or not.
GeometryUsageType Returns or sets the type of geometry to mesh
PropertyTable Returns the property table associated with the mesh.
SelectionList Returns the selection objects
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CommitMesh Commits the creation of the NXOpen.CAE.Mesh0d, NXOpen.CAE.Mesh1d, NXOpen.CAE.Mesh2d, NXOpen.CAE.Mesh3d object or Commits the changes made to the NXOpen.CAE.Mesh0d, NXOpen.CAE.Mesh1d, NXOpen.CAE.Mesh2d, NXOpen.CAE.Mesh3d object.
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

Mesh2dBuilderGeometryType Enumeration the geometry usage type

Property Detail

AutoResetOption

Mesh2dBuilder.AutoResetOption

Returns or sets the auto reset geometry option.

All manually performed edits will be removed if this option is true.

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

Getter Method

Signature AutoResetOption

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

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

Setter Method

Signature AutoResetOption

Parameters:fAutoReset (bool) –

New in version NX6.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

ElementType

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

Mesh2dBuilder.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 NX9.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

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

Setter Method

Signature ExportMesh

Parameters:fExportMesh (bool) –

New in version NX9.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

GeometryUsageType

Mesh2dBuilder.GeometryUsageType

Returns or sets the type of geometry to mesh

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

Getter Method

Signature GeometryUsageType

Returns:
Return type:NXOpen.CAE.Mesh2dBuilderGeometryType

New in version NX6.0.0.

Deprecated since version NX11.0.0: Use NXOpen.CAE.MeshControlBuilder instead.

License requirements: nx_masterfem (“Finite Element Modeling”)

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

Setter Method

Signature GeometryUsageType

Parameters:type (NXOpen.CAE.Mesh2dBuilderGeometryType) –

New in version NX6.0.0.

Deprecated since version NX11.0.0: Use NXOpen.CAE.MeshControlBuilder instead.

License requirements: nx_masterfem (“Finite Element Modeling”)

PropertyTable

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

Mesh2dBuilder.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”)

Method Detail

CommitMesh

Mesh2dBuilder.CommitMesh

Commits the creation of the NXOpen.CAE.Mesh0d, NXOpen.CAE.Mesh1d, NXOpen.CAE.Mesh2d, NXOpen.CAE.Mesh3d object or Commits the changes made to the NXOpen.CAE.Mesh0d, NXOpen.CAE.Mesh1d, NXOpen.CAE.Mesh2d, NXOpen.CAE.Mesh3d object.

Signature CommitMesh()

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

New in version NX6.0.0.

License requirements: nx_masterfem (“Finite Element Modeling”)

Validate

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