SurfaceCoatBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# SurfaceCoatBuilder Class

class `NXOpen.CAE.``SurfaceCoatBuilder`

  Bases: `NXOpen.Builder`

  Builder for creating Surface Coat

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

  New in version NX6.0.1.

# Properties

Property | Description
--- | ---
ElementFace | Returns the selected element face(s)
ElementType | Returns the element type to be created
ExportToSolver | Returns or sets the export to solver toggle
SelectGeometry | Returns the selected geometry object(s)
SelectionMethodType | Returns or sets the selection method for different ways of selection
SourceMesh | Returns the selected source object(s)
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
CommitMesh | Commit the mesh
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

SurfaceCoatBuilderSelectionMethod Enumeration | Represents the selection method to be used

# Property Detail

## ElementFace

`SurfaceCoatBuilder.``ElementFace`

  Returns the selected element face(s)

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

  Getter Method

  Signature `ElementFace`

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

  New in version NX6.0.1.

  License requirements: None.

## ElementType

`SurfaceCoatBuilder.``ElementType`

  Returns the element type to be created

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

  Getter Method

  Signature `ElementType`

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

  New in version NX6.0.1.

  License requirements: None.

## ExportToSolver

`SurfaceCoatBuilder.``ExportToSolver`

  Returns or sets the export to solver toggle

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

  Getter Method

  Signature `ExportToSolver`

  Returns: |
  Return type: | bool

  New in version NX7.5.0.

  License requirements: None.

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

  Setter Method

  Signature `ExportToSolver`

  Parameters: | fExportToSolver (bool) –

  New in version NX7.5.0.

  License requirements: None.

## SelectGeometry

`SurfaceCoatBuilder.``SelectGeometry`

  Returns the selected geometry object(s)

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

  Getter Method

  Signature `SelectGeometry`

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

  New in version NX7.5.0.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## SelectionMethodType

`SurfaceCoatBuilder.``SelectionMethodType`

  Returns or sets the selection method for different ways of selection

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

  Getter Method

  Signature `SelectionMethodType`

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

  New in version NX6.0.1.

  License requirements: None.

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

  Setter Method

  Signature `SelectionMethodType`

  Parameters: | selectionMethodType (`NXOpen.CAE.SurfaceCoatBuilderSelectionMethod`) –

  New in version NX6.0.1.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## SourceMesh

`SurfaceCoatBuilder.``SourceMesh`

  Returns the selected source object(s)

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

  Getter Method

  Signature `SourceMesh`

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

  New in version NX6.0.1.

  License requirements: None.

# Method Detail

## CommitMesh

`SurfaceCoatBuilder.``CommitMesh`

  Commit the mesh

  Signature `CommitMesh()`

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

  New in version NX6.0.1.

  License requirements: nx_masterfem (“Finite Element Modeling”)

## Validate

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