Wednesday, April 1, 2009

Create Action Macro


Use Record button in the Action Recorder to begin creating an action macro
Launch commands, enter values, and select objects using familiar AutoCAD functionality

Record actions from:
1. Command line 
2. Toolbars
3. Ribbon panels
4. Pulldown menus
5. Properties palette
6. Layer Properties Manager,
7. Tool palettes

Action macro names cannot contain spaces, *, or /. They also cannot exceed 31 characters

Example
Working on a project that have to frequently create a rectangular array of holes for a punch pattern


An action macro that draws a circle, based on the input of center and radius, and then proceeds to draw the 10 x 10 rectangular array with a hole spacing of 6 units
This action macro reduces the number of steps from 11 to 3

Action Macro File Location


Each action macro saved as individual file with *.actm extension

Shared Action Macros
Local Machinecopy the macro file onto each computer where want to use it


Networkcopy the macro file to a network location and specify the network location as one of the Additional Actions Reading File Locations

Lock Action Macros
Setting the file or directory attributes to read-only using Windows Explorer
Don't prevent from being modified on the local computer
But prevent it from being overwritten by a modified file

No comments:

Post a Comment