Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am using the code below to speed up the WBlock command. The desired behaviour is to overwrite the current DWG file using the objects that are visible in the current view bu using a window selection but it seems that it is using a cross window selection instead.
Any ideas on how can I get it to use a window selection?
Thank you
J
^C^C_qsave;qsave;(setq or_tm (getvar"tilemode"))(princ);(setvar"tilemode" 1)(princ);(command".ucs" "W")(princ);(command "wblock" (strcat(getvar"dwgprefix")(getvar"dwgname")) "Y" "" "non" "0,0" "w" (getvar"vsmin") (getvar"vsmax") "")(princ);(command"zoom" "E");(command"delay" 1000);(setvar"tilemode"or_tm)(princ);
Assistant BIM/CAD Manager
Manchester, UK

Manchester, UK
Solved! Go to Solution.