PolygonModelingTaskEnvironment Class — NXOpen Python API Reference 12.0.0 documentation

# PolygonModelingTaskEnvironment Class

class `NXOpen.``PolygonModelingTaskEnvironment`

  Bases: `object`

  Represents the Polygon Modeling task environment associated with a session.

  To obtain an instance of this class, refer to `NXOpen.Session`

  New in version NX12.0.0.

# Methods

Method | Description
--- | ---
Enter | Starts Polygon Modeling task environment.
Exit | Ends Polygon Modeling task environment.
SetCancelled | Marks the task to be cancelled such that during task is undone and all the changes are discarded.

# Method Detail

## Enter

`PolygonModelingTaskEnvironment.``Enter`

  Starts Polygon Modeling task environment.

  Signature `Enter()`

  New in version NX12.0.0.

  License requirements: None.

## Exit

`PolygonModelingTaskEnvironment.``Exit`

  Ends Polygon Modeling task environment.

  Signature `Exit()`

  New in version NX12.0.0.

  License requirements: None.

## SetCancelled

`PolygonModelingTaskEnvironment.``SetCancelled`

  Marks the task to be cancelled such that during task is undone and all the changes are discarded.

  Signature `SetCancelled()`

  New in version NX12.0.0.

  License requirements: None.