In this example, you create an action macro that makes a new layer and then draws
objects on the layer to create a 2D top view of a hexagon bolt.
In this example, you learn how to
You record actions with the Action Recorder panel. To display the Action Recorder
panel and start recording, perform this step:
Once recording is started, you can use the Layer Properties Manager to create the
new layer named Bolt. Follow these steps:
If the Action Macro – Value Not Recorded dialog box is displayed, click the Use the
Value that is Current at Playback link. This will assign the color specified to the
to the recent layer that was created with the Make option.
Next, you create a circle and then a six sided polygon based on the center of the
circle for the bolt. Once the circle and polygon are drawn, you use the SCALE command
to control the size of the bolt when the action macro is played back. Follow these
After all the actions have been recorded, you stop recording and save the recorded
actions to an action macro file. Follow these steps:
With a user message, you can provide instructions or general information about the
action macro to the user before any changes are made to the drawing during playback.
To insert a user message in the action macro, follow these steps:
With insert a base point, you are prompted to specify a base point when playing back
an action macro. In this action macro, you specify a base point used for the center
point of the circle during playback. Follow these steps:
With a pause for user input, you are prompted to enter a value when playing back an
action macro. In this action macro, you change the scale factor for the SCALE command
to pause for user input during play back. Follow these steps:
When you play back the action macro, you are prompted to specify a base point of a
circle and the scale factor for the SCALE command. To see the results of the action
macro, follow these steps:
The action macro creates the circle and polygon.
The action macro scales the circle and polygon based on the scale factor entered.
sp insert a user message in the action macro, follow these steps: On the Manage tab, expand the Action Recorder panel. In the Action Tree, select the CreateBolt node and right-click. Click Insert User Message. In the Insert User Message dialog box, enter Creates a hexagon bolt by drawing a circle and polygon.tutorial outlines the following procedures involved in creating an action macro that records a series of actions for creating a new layer and draw a multileader with two leaders. … 7 Create an action macro that changes the layer of objects.… To add your command Macro to the new toolbar button, right click on the 'Run … Join multiple lines or arcs into a polyline in one go (this Macro assumes that … You could create a Macro to plot your drawings at the click of a button, update your title block or create geometry on your company standard layers.Actions folder of your AutoCAD installation. You can share … Don't miss new tips! Plus get a free … Here's an example of how you would create a macro to change all objects to the default 0.25mm lineweight. You might get drawings from a company that adds lineweights to objects. Moreover …… The process of creating these drawings is “layout”, and the final result is “the layout”. … A new material layer can now be deposited on top of the patterned layer. ….. An example of shapes selected using Form select is shown in Figure 3.1. …. You can record a sequence of actions as a macro, or you can write …creating designs for microfabrication, such …. new material layer can now be deposited on top of the patterned layer. This … For example, if you plan to draw ۱۰۰۰ rectangles with varying dimensions ….. can record a sequence of actions as a macro, or you can write your own us- ing your …