2 days
En classe ou Privée
Sur place ou En ligne

Objectif:

The objective of this 2-day training is to enable metrology operators, technicians and engineers, who have a good knowledge of the PolyWorks® Metrology Suite, to develop macro scripts using the tools available in PolyWorks. Specifically, it covers the key concepts of typical macro scripting that allows users to automate tasks in PolyWorks Metrology Suite.

Structure:

  • Using the macro script editor
  • Developing scripts with Macro Script Control Language (MSCL)
  • Manage files using Macro Script Control Language (MSCL)
  • Create and edit dialog boxes for user interaction
  • Insert macro scripts into your projects

Contenu:

Introduction to the Macro Script editor

  • Navigating the Macro Script editor interface
  • Using the command history
  • Introduction to Macro Script Language (MSCL)
  • Accessing the command reference guide and learning syntax

Script development using Macro Script Control Language (MSL)

  • Defining and using variables
  • Using mathematical expressions
  • Use of logical expressions
  • Controlling execution using IF or WHILE conditions
  • Error handling

File management using Macro Script Control Language (MSL)

  • Creating files
  • Reading from files
  • Writing to files

Creating and editing dialog boxes for user interaction

  • Creating dialog boxes with choice lists, buttons and paths

Inserting macro scripts into your projects

  • Inserting a macro button in a visual interface toolbar
  • Using a script to measure an object (measurement script)
  • Inserting a macro into a sequence
  • Automatic macro triggering on event (Event Trigger)