MWCopySheetsBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# MWCopySheetsBuilder Class

class `NXOpen.Tooling.``MWCopySheetsBuilder`

  Bases: `NXOpen.Builder`

  Builder for copying sheets in the Mold Wizard application

  To create a new instance of this class, use `NXOpen.Tooling.MWCopySheetsCollection.CreateBuilder()`

  Default values.

  Property | Value
  --- | ---
  CopyAllSheetsToggle | 0
  Layer | 1

  New in version NX7.5.0.

# Properties

Property | Description
--- | ---
ColorPicker | Returns or sets the color picker for selecting the color to be assigned to the new copied sheets
CopyAllSheetsToggle | Returns or sets the indicator for copying all the parting and/or patched sheets in the parting part
Layer | Returns or sets the layer to be assigned to the new copied sheets
SheetsSelection | Returns the sheets selection for selecting the parting and/or patched sheets to be copied
Tag | Returns the Tag for this object.
Type | Returns or sets the type of sheets, parting sheets, patched sheets, or both to be copied

# Methods

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

MWCopySheetsBuilderTypes Enumeration | This enum represents the type of sheets to be copied

# Property Detail

## ColorPicker

`MWCopySheetsBuilder.``ColorPicker`

  Returns or sets the color picker for selecting the color to be assigned to the new copied sheets

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

  Getter Method

  Signature `ColorPicker`

  Returns: |
  Return type: | Id

  New in version NX7.5.0.

  License requirements: None.

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

  Setter Method

  Signature `ColorPicker`

  Parameters: | colorPicker (Id) –

  New in version NX7.5.0.

  License requirements: None.

## CopyAllSheetsToggle

`MWCopySheetsBuilder.``CopyAllSheetsToggle`

  Returns or sets the indicator for copying all the parting and/or patched sheets in the parting part

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

  Getter Method

  Signature `CopyAllSheetsToggle`

  Returns: |
  Return type: | bool

  New in version NX7.5.0.

  License requirements: None.

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

  Setter Method

  Signature `CopyAllSheetsToggle`

  Parameters: | copyAllSheetsToggle (bool) –

  New in version NX7.5.0.

  License requirements: None.

## Layer

`MWCopySheetsBuilder.``Layer`

  Returns or sets the layer to be assigned to the new copied sheets

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

  Getter Method

  Signature `Layer`

  Returns: |
  Return type: | int

  New in version NX7.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Layer`

  Parameters: | layer (int) –

  New in version NX7.5.0.

  License requirements: None.

## SheetsSelection

`MWCopySheetsBuilder.``SheetsSelection`

  Returns the sheets selection for selecting the parting and/or patched sheets to be copied

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

  Getter Method

  Signature `SheetsSelection`

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

  New in version NX7.5.0.

  License requirements: None.

## Type

`MWCopySheetsBuilder.``Type`

  Returns or sets the type of sheets, parting sheets, patched sheets, or both to be copied

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

  Getter Method

  Signature `Type`

  Returns: |
  Return type: | `NXOpen.Tooling.MWCopySheetsBuilderTypes`

  New in version NX7.5.0.

  License requirements: None.

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

  Setter Method

  Signature `Type`

  Parameters: | type (`NXOpen.Tooling.MWCopySheetsBuilderTypes`) –

  New in version NX7.5.0.

  License requirements: None.

# Method Detail

## Validate

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