Anuncios

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

Anonymous
2605 Vistas, 5 Respuestas

Macro to Redefine Block in Multiple Drawings (but with blockname contain space)

Hi, I would like to ask for solution, since I'm very new to autocad macros
I have drawings set from other party that i have to revise, unfortunately they don't use xref and only using blocks,

and they split their drawings to multiple files, so i have to use adcenter to redefine block one by one in each drawings

 

I search the forum and found solution for macros as below:
-INSERT
title=
Y
(COMMAND \e "RESUME")


but unfortunately macro above only works for drawing name that does not contain space
if, let say the drawing name is title 01, it would not work
i try to use "title 01" between the filename:

 

-INSERT
"title 01"=
Y
(COMMAND \e "RESUME")

 

it will say:
Command: -INSERT
Enter block name or [?]: "TITLE 01"=
Warning: If you are trying to insert the file: "TITLE 01"
it must be inserted using the <block>=<filename> syntax.
Command: Y
Unknown command "Y". Press F1 for help.

Is there  a solution for my problem above? would very much appreciated for the help :cara_con_una_leve_sonrisa:

thank you