Macro Properties

Note: This topic relates to the Dynamic Modelling Properties control bar.

To display this Properties control bar:

The following properties are available for macro task items:

Properties for Macros: [Macro File Name]
Name The label used to identify the task of the Dynamic Modelling workflow. For this task type, the value is Macros: followed by the name of the macro file associated with the workflow task, for example, Macros: AddModelDensity.mac.
Macro file The name and location of the macro file associated with the workflow task.
Substitution Variables
Input Names

Expand the list to select one or more workflow object references.

A symbolic name (say, DH1 for the input drillholes object) displays and, if your macro references it, substitutes the nominated drillholes file for the workflow into the macro.

Output names

Expand the list to select one or more workflow object references.

A symbolic name displays. This symbolic name can be used as a reference in your macro to substitute the output file from the workflow into your macro. For example, you can add a model density field to the output block model, or run grade estimation on the output model.

Additional variables

Click "+" to add a rename a substitution variable and value for your macro. 

For example, you may want to use a different SWATHPLT swath WIDTH parameter, using the output model as an input to this process, so instead of creating a new macro, you could add a substitution variable reference in your macro and reference its symbolic name here. Then, set the <Value> for the run to the required swath width value.

Properties for [macro name]
Name

The name of the macro in the macro file to be run. By default, each macro and a file appears in the macro task item when it is added, but you can reference another macro.

Note: Changing Name automatically updates the reference in the macro task item as well.

Status

The latest status of the object, which can either be:

  • Succeeded

  • Succeeded with warnings

  • Waiting

  • Failed

For more information on task statuses, see Process the Workflow.

Enabled

If checked, the workflow item is processed when the workflow is processed. 

If unchecked, the task item is ignored during workflow processing.

Locked

If checked, the task item is locked during processing.

If unchecked, the task item is processed as expected during processing (depending on whether it is enabled or not - see above).

See Process the Workflow.

ObjectGUID

An internal identifier representing the data object associated with the task. Read-only.

Description

If the selected macro file includes a description on the same line as the macro !START instruction, it appears here.

For example, if the macro file contains a macro called DENSITY, and it is launched with this instruction:

!START DENSITY # My Description

The Description appears as:

Related topics and activities