A Non-Programmers Guide to Using Macros

Macros are simply a collection of Visual Basic for Applications (VBA, a simplified version of Visual Basic) code that allows the application (in this case Inventor) to perform complex actions automatically with limited user input. An example of a macro might be a program that inserts multiple parts into an assembly document or even simply a toolbar button that accesses a menu command that does not have a default toolbar button.

There are two main categories of custom programs for Inventor. The first is add-ins (or add-ons). These are more complex programs written in true Visual Basic that often inset a new menu item or toolbutton actomatically into Inventor. Examples of add-ins are Animator, Kwik-Sert, iPropWizard, iAssembly Tools etc.. These add-ins need no setup as they are often EXEs and install themselves automatically into the Inventor application.

The second is macros (which are by default *.ivb files) which are nothing more than ASCI text files that tell Inventor to perform certain actions. They do not install menu items or come with default toolbar buttons but can be assigned to buttons. This document will deal with how to use these types of Macros.

Get pdf download A Non-Programmers Guide to Using Macros

Related Tutorial

Tags: , , , , , , , , , , ,

Comments

Leave a Reply