Solved: Inserting a block with a macro - Autodesk Community Need some help with a macro Im trying to insert a specific block with a macro then run attsync directly afterwards with the same block i want to overwrite the block thats in the drawing then update the attribute I cant seem to get the macro to redefine the block Here is my macro
lisp for insert block from another drawing The -INSERTCONTENT command was added with the 2021 version of AutoCAD which finally allows you to insert a block directly from another drawing This macro starts the command and display the Select Drawing File dialog box for the drawing with the block you want to insert:
About Inserting Blocks (VBA ActiveX) - Autodesk Knowledge Network You can insert blocks or entire drawings into the current drawing with the InsertBlock method The InsertBlock method takes six values as input: the insertion point, the name of the block or drawing to insert, the X -scale factor, the Y -scale factor, the Z -scale factor, and the rotation angle
Use macros to automate work - Autodesk 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