Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

R_Tweed
en respuesta a: Anonymous

I am running 2020 with arch toolsets and found that when I used the quotes for the long file name it worked but did not work for a "block name". It reads back the block as test 1" for why I have now clue.  I personally don't like to use file names or blocks or pretty much anything with spaces within Autocad. That said If you rename the block then the a script will work.  You should also rename the base.dwg naming if possible.

 

You could make two scripts. one to rename and then another to do the block update.

;first script renames the block

-RENAME
B
"cir 1"
cir-1
;next script

-insert

;block name=dwg file location and namecir-1=c:\plot\cir-1.dwg
0,0
1
1

ERASE
LAST