sivapathasunderam Posted February 17, 2016 Posted February 17, 2016 (edited) Dear all; My end goal is to erase some of the parts from multiple drawings Command: Erase window specify first corner specify opposite corner enter Please correct the below "script" (command "Erase" "W" x,y x,y "") "First corner + opposite corner coordinates are same for many drawings" Thanks in advance for any help/advice Siva Edited February 17, 2016 by sivapathasunderam added one sentence Quote
ReMark Posted February 17, 2016 Posted February 17, 2016 If you want to do this using a script, to batch process a folder full of drawings, don't you need to also open, save and close each drawing as well? Quote
sivapathasunderam Posted February 17, 2016 Author Posted February 17, 2016 I am looking for the correct script file, then i will use Lee Mac's Script Writer Programme..... Quote
rkmcswain Posted February 17, 2016 Posted February 17, 2016 One way (the script part) ;; [color="red"]x y x y[/color] (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") Quote
BIGAL Posted February 18, 2016 Posted February 18, 2016 a simple example open dwg1 (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") close Y open dwg2 (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") close Y open dwg3 (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") close Y Quote
sivapathasunderam Posted February 18, 2016 Author Posted February 18, 2016 ;; x y x y(command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") open dwg1 (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") close Yopen dwg2 (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") close Y open dwg3 (command "._erase" "_W" (list 5.1 11.2)(list 8.1 8.1) "") close Y Excellent! I really appreciate it. Thanks for the help! 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.