Clear Layers

Use the "Clear Layers" step to remove the shapes, triangulations and texts from a set of layers referenced in the workflow.

To add a Clear Layers Step to a Process Workflow:

  1. Right-click on the name of the Workflow or the name of a Group or Step in the Process Workflow Navigation pane.
  1. Select Add Step > Design > Shape > Remove > Clear Layers from the right-click menu.

    This will add the step to the bottom of the Workflow Setup navigation tree, add the step to the Group, or add the step below the current Step, respectively.

Caption

(Optional) Enter a Caption. The Caption replaces the display text for a given step in the Workflow Runner.

Description

(Optional) Enter a description that summarises the action performed by the step.

When running a step, the description is shown together with a completion message stating the Run Mode (see below) and what work was completed in the action.

This appears on the row and, if an error occurred, in the Error List.

Show description in step options panel

Select this option to show the Description in the Step Options dock panel (when this step is selected in the Workflow Runner panel).

Run Mode (Disabled)

Some workflow steps have a Run Mode selection menu. Here the Run Mode is fixed.

Headless - no navigation Run the step via Step Options. There is no action to navigate to - or navigation to the associated action is disallowed.

Condition -

Type

Select a (None, Expression, Script) Condition Type.

Condition - Expression - Stop/Skip when not met

When the Condition Type is Expression, click to use the drop-down to build a filter expression in the Expression Editor. Filter Expressions evaluate and return a Boolean (True or False) value.

If the expression returns a False value, the condition is NOT MET.

Condition - Script - Stop/Skip when not met

When the Condition Type is Script, click to use the drop-down to select a Script Method.

Stop Message

When the condition is NOT MET and you have chosen to Stop running the workflow, the message that is displayed to the user should indicate the reason why the workflow was stopped (based on the condition set).

Options

Input Layers

Select the layers you want to clear. To use a variable instead, see "Bindings" (below).

When the step is selected in the Workflow Runner, the same options are available in the Workflow Step Options dock panel.

Options bound to variables can only be modified in the properties of the step.

Clear Shapes, Triangulations, Text

Select the elements you want to clear.

Bindings

In the Bindings group, the Step Options are repeated and are, by default, set to use the "Value" that is set in the Options group. Alternatively, use the drop down to bind a "Variable" to each option. You can then select the variable in an input box to the right of the binding option.

When you run the Process Workflow, each process will interrogate the variables you have set in the properties (step options) of the workflow and use those values.

Variables are referenced in the Options of the Properties of a workflow step. You can also add a special "Set Variables" step. The step which will either prompt for one or more of the variables values you have added or set those values directly.

For more information, see: Set Variables

Outputs

Output to the Variables setup for the Workflow.

Add Steps