MMCCreateBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# MMCCreateBuilder Class

class `NXOpen.CAE.``MMCCreateBuilder`

  Bases: `NXOpen.Builder`

  Represents a `NXOpen.CAE.MMCCreateBuilder` which can be used to create or edit `NXOpen.CAE.MeshMate` objects.

  To create a new instance of this class, use `NXOpen.CAE.MeshControlCollection.CreateMmcCreateBuilder()`

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
AutoSelection | Returns the bodies/faces used when `NXOpen.CAE.MMCCreateBuilder.Type()` is set to `NXOpen.CAE.MMCCreateBuilderTypes.AutoCreate`.
DistTolerance | Returns the dist tolerance
FaceSearchOption | Returns or sets the face search option
MeshMatingOption | Returns or sets the mesh mating type
Mmc | Returns or sets the Mesh Mating Condition
ReverseDirection | Returns or sets the reverse direction
SourceFace | Returns the source face used when `NXOpen.CAE.MMCCreateBuilder.Type()` is set to `NXOpen.CAE.MMCCreateBuilderTypes.Manual`.
Tag | Returns the Tag for this object.
TargetFace | Returns the target face used when `NXOpen.CAE.MMCCreateBuilder.Type()` is set to `NXOpen.CAE.MMCCreateBuilderTypes.Manual`.
Type | Returns or sets the mmc creation type

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
CommitMmcs | Commits the creation of the `NXOpen.CAE.MeshMate` objects or Commits the changes made to the `NXOpen.CAE.MeshMate`
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

MMCCreateBuilderFaceSearchType Enumeration | Types of Face Serach Operations
MMCCreateBuilderMeshMatingType Enumeration | Types of Mesh Mating Conditions
MMCCreateBuilderTypes Enumeration | Type of the Creation Methods for MMC

# Property Detail

## AutoSelection

`MMCCreateBuilder.``AutoSelection`

  Returns the bodies/faces used when `NXOpen.CAE.MMCCreateBuilder.Type()` is set to `NXOpen.CAE.MMCCreateBuilderTypes.AutoCreate`.

  `-------------------------------------`

  Getter Method

  Signature `AutoSelection`

  Returns: |
  Return type: | `NXOpen.SelectDisplayableObjectList`

  New in version NX6.0.5.

  License requirements: None.

## DistTolerance

`MMCCreateBuilder.``DistTolerance`

  Returns the dist tolerance

  `-------------------------------------`

  Getter Method

  Signature `DistTolerance`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX6.0.0.

  License requirements: None.

## FaceSearchOption

`MMCCreateBuilder.``FaceSearchOption`

  Returns or sets the face search option

  `-------------------------------------`

  Getter Method

  Signature `FaceSearchOption`

  Returns: |
  Return type: | `NXOpen.CAE.MMCCreateBuilderFaceSearchType`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `FaceSearchOption`

  Parameters: | faceSearchOption (`NXOpen.CAE.MMCCreateBuilderFaceSearchType`) –

  New in version NX6.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## MeshMatingOption

`MMCCreateBuilder.``MeshMatingOption`

  Returns or sets the mesh mating type

  `-------------------------------------`

  Getter Method

  Signature `MeshMatingOption`

  Returns: |
  Return type: | `NXOpen.CAE.MMCCreateBuilderMeshMatingType`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `MeshMatingOption`

  Parameters: | meshMatingOption (`NXOpen.CAE.MMCCreateBuilderMeshMatingType`) –

  New in version NX6.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Mmc

`MMCCreateBuilder.``Mmc`

  Returns or sets the Mesh Mating Condition

  `-------------------------------------`

  Getter Method

  Signature `Mmc`

  Returns: |
  Return type: | `NXOpen.CAE.MeshMate`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Mmc`

  Parameters: | mmc (`NXOpen.CAE.MeshMate`) –

  New in version NX6.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## ReverseDirection

`MMCCreateBuilder.``ReverseDirection`

  Returns or sets the reverse direction

  `-------------------------------------`

  Getter Method

  Signature `ReverseDirection`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReverseDirection`

  Parameters: | reverseDirection (bool) –

  New in version NX6.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## SourceFace

`MMCCreateBuilder.``SourceFace`

  Returns the source face used when `NXOpen.CAE.MMCCreateBuilder.Type()` is set to `NXOpen.CAE.MMCCreateBuilderTypes.Manual`.

  `-------------------------------------`

  Getter Method

  Signature `SourceFace`

  Returns: |
  Return type: | `NXOpen.SelectIParameterizedSurface`

  New in version NX6.0.0.

  License requirements: None.

## TargetFace

`MMCCreateBuilder.``TargetFace`

  Returns the target face used when `NXOpen.CAE.MMCCreateBuilder.Type()` is set to `NXOpen.CAE.MMCCreateBuilderTypes.Manual`.

  `-------------------------------------`

  Getter Method

  Signature `TargetFace`

  Returns: |
  Return type: | `NXOpen.SelectIParameterizedSurface`

  New in version NX6.0.0.

  License requirements: None.

## Type

`MMCCreateBuilder.``Type`

  Returns or sets the mmc creation type

  `-------------------------------------`

  Getter Method

  Signature `Type`

  Returns: |
  Return type: | `NXOpen.CAE.MMCCreateBuilderTypes`

  New in version NX6.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `Type`

  Parameters: | type (`NXOpen.CAE.MMCCreateBuilderTypes`) –

  New in version NX6.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

# Method Detail

## CommitMmcs

`MMCCreateBuilder.``CommitMmcs`

  Commits the creation of the `NXOpen.CAE.MeshMate` objects or Commits the changes made to the `NXOpen.CAE.MeshMate`

  Signature `CommitMmcs()`

  Returns: |
  Return type: | list of `NXOpen.CAE.MeshMate`

  New in version NX6.0.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Validate

`MMCCreateBuilder.``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.