DriveWorks Pro 15: Run Macro in Hosted Specification [send feedback...]

Run Macro in Hosted Specification

This task will run a Specification Macro in a Hosted Specification.

Perform actions in a Hosted Specification when a Specification Macro is run in the current Specification.

Multiple Specification Host Controls can be running in the current Specification. Therefore the target Specification Host Control name must be specified for the task to run.

Properties

Property NameDescription
Macro ArgumentProvides an optional Macro Argument to the Specification Macro.
Macro NameThe name of the Specification Macro to execute in the Hosted Specification.
Specification Host Control NameThe name of the Specification Host Control to use to obtain the Specification to invoke the Specification Macro on.
TitleChanges the Title (not the name) of the task.

Example

When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

PropertyExample RuleExample ResultMeaning
Macro Argument250250250 will be passed into the Special Variable DWCurrentMacroArgument and can then be used in the Hosted Specifications rules.
Macro Name"Set Control Value"Set Control ValueThe name of the Specification Macro to run in the Hosted Specification. Set Control Value will be run in the Hosted Specification.
Specification Host Control Name"SpecificationHostControl"SpecificationHostControlThe name of the Specification Host Control to use in the current Specification. The Specification Macro will run in the Specification hosted in this Control.

Table of Contents