Gina Posted November 22, 2022 Posted November 22, 2022 I got three line of command, I tried to run in Autocad with the Script writer form Mac Lee, but only run in the first drawing. Even if I add the folder which contains more that one drawing, this run only in the fisrt one and then stops. The lines are: (command "_.-insert" "BLOCK_NAME=C:/Users/BLOCK_NAME" "y" (command)) (command "_.attsync" "n" "BLOCK_NAME") (command "_.qsave" "_.close") Could anyone help me to see if I am missing something? Quote
BIGAL Posted November 22, 2022 Posted November 22, 2022 You have to OPEN DWG 1st so the script has something to work on. Open dwg1 (command "_.-insert" "BLOCK_NAME=C:/Users/BLOCK_NAME" "y" (command)) (command "_.attsync" "n" "BLOCK_NAME") _.qsave _.close Open dwg2 (command "_.-insert" "BLOCK_NAME=C:/Users/BLOCK_NAME" "y" (command)) (command "_.attsync" "n" "BLOCK_NAME") _.qsave _.close Open dwg3 (command "_.-insert" "BLOCK_NAME=C:/Users/BLOCK_NAME" "y" (command)) (command "_.attsync" "n" "BLOCK_NAME") _.qsave _.close 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.