Beginner to Advanced – Understanding & Writing Macros

June 6, 2018 1:08 pm


A more powerful way of creating macros is to write your own

Macros enable you to:

  • Automate your software
  • Streamline your processes
  • Remove redundant operations
  • Give users the ability to interact with the software

In this three-part webinar tutorial, learn how to record, clean and debug macros. You’ll see how macros can automate the creation of roughing and rest-roughing toolpaths and how toolpath templates can further boost your CAM productivity levels.

Part 1 — PowerMill Basic Macro Webinar

In this session, you’ll learn:

  • Recording a macro
  • Understanding and cleaning a recorded macro
  • Debugging a macro
  • Creating an Automatic Roughing and Rest Rough Macro
  • Using toolpath templates

Part 2 — PowerMill Intermediate Macro Webinar

In this session, you’ll learn:

  • Defining custom variables (String, Real, Bool)
  • Using Expression
  • Creating logic with IF/ELSEIF
  • Looping through entities
  • Accessing file and toolpath parameters
  • Using input box, pulldown menus and Message box

Part 3 — PowerMILL Advanced Macro Webinar

In this session, you’ll learn:

  • Using functions
  • Pause Box
  • Writing/reading text files
  • Creating a batch programming macro
  • Visual Studio introduction
  • Hooking up PowerMILL to Visual studio
  • Creating user interface


Try PowerMill free for 30 days or click here for more information.


1 Comment

Leave a Reply