MWPartingManagerBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# MWPartingManagerBuilder Class

class `NXOpen.Tooling.``MWPartingManagerBuilder`

  Bases: `NXOpen.Builder`

  Builder for the Parting Manager in the Mold Wizard application

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

  New in version NX7.5.0.

# Properties

Property | Description
--- | ---
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Commit | Commits any edits that have been applied to the builder.
DeleteTransientMeshes | Initialize, reset or delete the transient meshes created in the Wall Thickness Checker.
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.
GetInPartingCommand | Get if it is within a parting command.
GetObject | Returns the object currently being edited by this builder.
GetPartingManagerDataStatus | Get the status of the parting manager data.
InitModule | Perform the module initialization tasks when entering the Mold Wizard Parting environment.
InitPartingSettings | Perform initialization of the settings for parting when entering the Mold Wizard Parting environment.
PerformSyncTasks | Perform the syncronization tasks when entering the Parting Manager environment.
PerformSyncTasksOnExit | Perform the syncronization tasks when exiting the Parting Manager environment.
RegisterUndoIds | Register the UNDO identifiers.
RegisterWtcPostUndoCallback | Register or unregister the post UNDO callback function for the Wall Thickness Checker.
ResetUpdateLock | Reset the update lock.
SetInPartingCommand | Set if it is within a parting command.
SetPartingManagerDataStatus | Set the status of the parting manager data.
SetUpdateLock | Set the update lock.
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UpdatePartingNavigator | Update the Parting Navigator.
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

MWPartingManagerBuilderDataStatus Enumeration | The status of the parting manager data.
MWPartingManagerBuilderRegisterType Enumeration | The type of registering UNDO identifier.

# Method Detail

## DeleteTransientMeshes

`MWPartingManagerBuilder.``DeleteTransientMeshes`

  Initialize, reset or delete the transient meshes created in the Wall Thickness Checker.

  Signature `DeleteTransientMeshes(deleteMesh)`

  Parameters: | deleteMesh (int) – Indicate if it is to initialize:0; reset:1; or delete:2 the transient meshes.

  New in version NX8.0.0.

  License requirements: None.

## GetInPartingCommand

`MWPartingManagerBuilder.``GetInPartingCommand`

  Get if it is within a parting command.

  Signature `GetInPartingCommand()`

  Returns: | Return if it is within a parting command
  Return type: | int

  New in version NX7.5.0.

  License requirements: None.

## GetPartingManagerDataStatus

`MWPartingManagerBuilder.``GetPartingManagerDataStatus`

  Get the status of the parting manager data.

  Signature `GetPartingManagerDataStatus()`

  Returns: | Return the status of the parting manager data
  Return type: | int

  New in version NX7.5.0.

  License requirements: None.

## InitModule

`MWPartingManagerBuilder.``InitModule`

  Perform the module initialization tasks when entering the Mold Wizard Parting environment.

  Signature `InitModule()`

  Returns: | Return the error flag indicating the type of error
  Return type: | int

  New in version NX7.5.0.

  License requirements: None.

## InitPartingSettings

`MWPartingManagerBuilder.``InitPartingSettings`

  Perform initialization of the settings for parting when entering the Mold Wizard Parting environment.

  Signature `InitPartingSettings()`

  New in version NX7.5.0.

  License requirements: None.

## PerformSyncTasks

`MWPartingManagerBuilder.``PerformSyncTasks`

  Perform the syncronization tasks when entering the Parting Manager environment.

  Signature `PerformSyncTasks()`

  New in version NX7.5.0.

  License requirements: None.

## PerformSyncTasksOnExit

`MWPartingManagerBuilder.``PerformSyncTasksOnExit`

  Perform the syncronization tasks when exiting the Parting Manager environment.

  Signature `PerformSyncTasksOnExit()`

  New in version NX7.5.0.

  License requirements: None.

## RegisterUndoIds

`MWPartingManagerBuilder.``RegisterUndoIds`

  Register the UNDO identifiers.

  Signature `RegisterUndoIds(registerType)`

  Parameters: | registerType (int) – The register type for UNDO identifiers

  New in version NX7.5.0.

  License requirements: None.

## RegisterWtcPostUndoCallback

`MWPartingManagerBuilder.``RegisterWtcPostUndoCallback`

  Register or unregister the post UNDO callback function for the Wall Thickness Checker.

  Signature `RegisterWtcPostUndoCallback(registerPostUNDO)`

  Parameters: | registerPostUNDO (int) – Indicate if it is to register:1 or unregister:0 the post UNDO callback function.

  New in version NX8.0.0.

  License requirements: None.

## ResetUpdateLock

`MWPartingManagerBuilder.``ResetUpdateLock`

  Reset the update lock.

  Signature `ResetUpdateLock(doUpdate)`

  Parameters: | doUpdate (int) – indicates whether to perform update after resetting the update lock

  New in version NX7.5.0.

  License requirements: None.

## SetInPartingCommand

`MWPartingManagerBuilder.``SetInPartingCommand`

  Set if it is within a parting command.

  Signature `SetInPartingCommand(inPartingCommand)`

  Parameters: | inPartingCommand (int) – Set if it is within a parting command

  New in version NX7.5.0.

  License requirements: None.

## SetPartingManagerDataStatus

`MWPartingManagerBuilder.``SetPartingManagerDataStatus`

  Set the status of the parting manager data.

  Signature `SetPartingManagerDataStatus(pmDataStatus)`

  Parameters: | pmDataStatus (int) – Set the status of the parting manager data

  New in version NX7.5.0.

  License requirements: None.

## SetUpdateLock

`MWPartingManagerBuilder.``SetUpdateLock`

  Set the update lock.

  Signature `SetUpdateLock()`

  New in version NX7.5.0.

  License requirements: None.

## UpdatePartingNavigator

`MWPartingManagerBuilder.``UpdatePartingNavigator`

  Update the Parting Navigator.

  Signature `UpdatePartingNavigator()`

  New in version NX7.5.0.

  License requirements: None.

## Validate

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