DriveWorks Pro 16: Specification Macros [send feedback...]

Specification Macros

Specification Macros can be applied to Macro Buttons on the user Form or triggered from the Specification Flow, Specification Timers or Drive3D Click Macro Entities to run set Tasks that can have parameters passed into them using Rules or Connections.

Timeout Period

Looping or nested Macros in DriveWorks have an inbuilt timer that will ask the user whether to continue or stop the execution of the Looping Macro after 20 seconds.

Nesting Macros

Macros can be nested (make calls to other Macros from within a Macro). A maximum depth of 200 nested Macros can be included within a single Macro.

Create a Specification Macro

To create a Specification Macro:

  1. Open the Project it is to be applied to in DriveWorks Administrator.
  2. Select Specification Macros from the Task Explorer found within Stage 5: Specification Control.
  3. Click Add to add a new Macro.
  4. Enter a name for the Macro.
  5. Click OK.
  6. The Specification Macro Editor will show the new Specification Macro.

Edit a Specification Macro

To edit a Specification Macro:

  1. Click on Specification Macros in the Task Explorer found within Stage 5: Specification Control.
  2. Select the Macro from the Specification Macros tree that you wish to edit.
  3. The Specification Macro Editor will show the selected Specification Macro allowing you to edit that Specification Macro Flow.

Rename a Specification Macro

To rename a Specification Macro:

  1. Click on Specification Macros in the Task Explorer found within Stage 5: Specification Control.
  2. Select the Macro from the Specification Macros tree.
  3. Click the Rename button found on the Command Bar.
  4. The Name field of the Macro will become active allowing the Macro to be renamed.

Delete a Specification Macro

To delete a Specification Macro

  1. Click on Specification Macros in the Task Explorer found within Stage 5: Specification Control.
  2. Select the Macro from the Specification Macros tree.
  3. Click the Delete button from the DriveWorks command bar.

Copy/Paste Specification Macros

Specification Macros can be copied and pasted within the same Project or across other Projects.

  1. In DriveWorks Administrator open the Project that contains the Specification Macro to be copied.
  2. Click on Specification Macros in the Task Explorer found within Stage 5: Specification Control.
  3. Locate and select the Specification Macro to be copied from the Specification Macros tree.
  4. Click the Copy button found on the Command Bar.
  5. Open the Project where the Specification Macro is to be copied.
    Launch another session of DriveWorks Administrator and have the Source Project open in one, and the destination Project open in the other. Both Groups can be viewed side by side on your screen.
  6. Click on Specification Macros in the Task Explorer found within Stage 5: Specification Control in the Project you wish to paste the Specification Macro in.
  7. Click the Paste button from the command bar.
    When the name of a copied Specification Macro already exists in the destination group, the name will be suffixed with an incremental number.

Categories

Specification Macros can be placed within categories.

  1. Click Add Category button from the Command Bar.
  2. Enter a name for the category and click OK.
    The category will be added under the Categories heading in the Macros tree.

Adding Macros to a Category

Macros are added to a category by:

  • Selecting the category and clicking Add to add a new Macro to the category
  • Selecting an existing Macro and dragging it to the required category

DriveWorks Quick Tips

DriveWorks Quick Tips: Export to Table

Almost every company runs off a database of some sort. Those databases need to be populated with new information as it is received. DriveWorks can build up databases quickly and easily by using the Export to Simple Table document.

DriveWorks Quick Tips are a series of 1 minute videos, available on YouTube, that explain specific functionality. View all Quick Tips

DriveWorks Tech Tips Portal

Shopping Basket

The project allows a customer to select from a range of products and specify a quantity. This is exported to a Simple Table and then used to create a summary from where customers can see their selections, and remove an item if desired, before checking out.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://hub.driveworks.co.uk/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.

Table of Contents