

Now when the action macro is played back, the Dims layer will be set current instead of Dimensions.

On the ribbon, click Manage tab > Action Recorder panel > Record.ĬLAYER system variable is recorded and shown in the Action Tree.Add the layer "Dimensions" and assign the layer the color 3.Set the midpoint, endpoint, center, and intersection running object snaps current.Let's look at recording an action macro that could be used to setup a drawing. When recording starts, a red circle appears adjacent to the crosshairs letting you know the Action Recorder is actively listening for actions. Think of the Action Recorder as AutoCAD's version of an audio recorder or digital video recorder (DVR). You can find a list of actions and user interfaces that can be recorded in the Customization Guide in the topicĪction macros are recorded using the Action Recorder located on the Manage tab of the ribbon. Specification of values: coordinate point, object selection, and string/numeric values.You can find a list of AutoCAD commands that can't be recorded in the Customization Guide in the topicĪction is the smallest interaction in AutoCAD that can be recorded, these general interactions can be recorded: Using the Action Recorder and Visual Basic for Applications features.Creating, opening, and recovering drawing files.The commands that can't be recorded are related to: Most commands can be recorded, such as the LINE command to draw lines,ĬHPROP command to change the properties of an object, and the LAYER command used to manage layers in a drawing. Which Commands and Actions Can Be Recorded? Inserts a title block with a specific location and scale, adds several floating viewports at default locations, and creates labels below each viewport.Cleans up a drawing by moving certain types of objects to a specific layer, setting all objects to ByLayer, and purging unused named objects, such as layers and blocks.Changes the layer and scale of selected objects.Sets a layer and style current before adding a dimension or annotation.Command sequences make the best candidates to be automated.Īction macros are a recorded sequence of commands, options, and values that can be played back in any drawing. As you use commands, certain commands are often used frequently together and in the same order, this is known as aĬommand sequence.
CAD MACROS FC SPRING HOW TO
You just need to know how to use AutoCAD, more specifically, how to use commands and system variables. You don't need to be a programmer to automate repetitive tasks with action macros. Wouldn't it be great to simplify your workflows and repetitive tasks through automation? I know, what you might be thinking… "Sounds great, but I'm not a programmer."
