& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Autodesk Support
Nov 19, 2024
Products and versions covered
Macros can help to automate your work and speed the drawing process. Your macros do not have to be long and complex to be useful. You can create some really useful short macros that are not complex. For example, you can start a command and then run a short macro to complete it. This type of short macro can save time.
This solution provides an example of a short macro that you use to complete the INSERT command.
In this example, you need to insert several different blocks, using the same insertion point, scale, and rotation angle. In this situation, you start the INSERT command, and select the block to insert. After that, the remaining input required to complete the command is the same. That is, you use the same insertion point, scale, and rotation angle. To speed up this process, you can create a short macro to complete the INSERT command.
To create and use the macro:
Following is a break-down of the the macro:
0,0 | Insertion point |
1 | X scale factor |
1 | Y scale factor |
0 | Rotation angle |
_zoom | ZOOM command |
_e | Extents command option of ZOOM command |
Was this information helpful?
The Assistant can help you find answers or contact an agent.
What level of support do you have?
Different subscription plans provide distinct categories of support. Find out the level of support for your plan.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved