Macros

You an use macros with arguments.

Run()

Runs a macro with arguments. It is up to you to check that the macro which is run is not going to cause an infinite loop or result in a system crash.

Syntax

VB Script.Run(valueOrFeature:ObjectType,...: Void

where valueOrFeature corresponds to the macro argument. Macros have arguments that have a particular order. Values assigned to arguments have to be passed in the same order.

Example

You must have created the VB Script.1 macro before creating the rule below:

if PartBody\Pad.1.HasAttribute(String.1) == true `VB Script.1` .Run(PartBody\Pad.1 .GetAttributeString(String.1) ,PartBody\Pad.1.Name() )