Macro Editor

The macro editor allows you to create or edit custom macros you can use to speed up your workflow in Verbotics Weld.

To access the macro editor, open the Tools menu at the top of the application, and select Macro Editor.

../../_images/new_macro.png

Macro Editor Menu

Creating a Macro

To create a new macro, select the plus button at the bottom left of the menu.

Each macro can be named, and will require a keyboard shortcut to be set in order to trigger the macro outside of the menu.

To apply a new keyboard shortcut, simply click inside the Keyboard shortcut textbox, and Verbotics Weld will start recording a new shortcut. Clicking once again outside the textbox will stop the recording.

Adding Function to a Macro

Each macro is made up of an ordered series of steps. To add a new step, click the Add Step dropdown menu, and select one of the following actions:

  • nothing Do nothing: Do nothing, can be used to delay proceeding actions.

  • filter Filter welds: Filter welds based on specified filters. This will change which welds are affected by proceeding actions in the macro.

  • clear Clear filter: Clears all current filters applied to welds.

  • tag Tag welds: Applies specified tag to current welds.

  • split Split/Trim welds: Applies specified split/trim action to current welds.

  • reverse Reverse welds: Reverses direction of current welds.

  • identify Identify welds: Run identify welds function with specified parameters.

  • scan Take scan: If available, will use specified sensor to capture a scan of workspace.

  • remove Remove welds: Removes all current welds from project.

  • apply Apply weld settings: Applies specified weld settings to current welds. Can be set to override previous settings.

  • save Save project: Saves the project.

  • sort Sort welds: Applies a specified sort to all current welds.

  • robot Set robot and tool: Changes the current robot and tool of all current welds to a specified robot and tool. Can be set to override previous settings.

Once a macro is created, it can be saved for use in Verbotics using the Save button in the bottom right.

Example: Quick Remove Inaccessible Welds

../../_images/macro_editor.png

Macro Editor Menu

The macro shown above is a simple example of a useful macro:

  1. Macro start, currently affects all parts and welds in the project.

  2. Filter welds, filters welds based on their planning status, set to filter Inaccessible welds only.

  3. Removes all currently selected welds. This removes all the inaccessible welds filtered in Step 2.

  4. Clear filter, clears currently applied filter to now show all remaining welds in the Welds widget.

Import and Export Macros

All saved macros are able to be exported for use on other devices using the Export button in the bottom left of the Macro Editor. Macro’s are exported as JSON files, which can then be imported on other devices using Verbotics by using the Import button.