MWCopySheetsBuilder Class¶
-
class
NXOpen.Tooling.MWCopySheetsBuilder¶ Bases:
NXOpen.BuilderBuilder 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
ColorPickerReturns: Return type: Id New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ColorPickerParameters: 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
CopyAllSheetsToggleReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CopyAllSheetsToggleParameters: 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
LayerReturns: Return type: int New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LayerParameters: 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
SheetsSelectionReturns: Return type: NXOpen.SelectBodyListNew 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
TypeReturns: Return type: NXOpen.Tooling.MWCopySheetsBuilderTypesNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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.