WBLOCK

Martin Shoemaker

Usenet Archive
Joined
Jul 25, 2000
Messages
150
Reaction score
0
Back many versions ago it was possible to wblock a drawing to it's existing name to clean up the database. Recent versions don't allow this. Has anyone worked out a way to get the old capability in 2004? I know it can be dangerous, but I'm willing to trade the danger of occasionally losing some work against the time to wblock to a dummy name, copy the dummy file to the original name, and erase the dummy file name.

Thanks,

Martin
 
2 menu items I use:

[Wblock Current Drawing (ENTIRE) on itself]^c^c^p(command".ucs" "W")(princ);(command "wblock" (strcat(getvar"dwgprefix")(getvar"dwgname")) "Y" "*")(princ); [Wblock Current Drawing (Mspace) on itself]^c^c^p(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" (ssget "X" (list(cons 67 0))) "")(princ);(command"zoom" "E");(command"delay" 1000);(setvar"tilemode"or_tm)(princ);
 
Hi Martin,

Use the command line version of the WBLOCK command (start using
-WBLOCK). This allows the current drawing to be saved and replaced with the * option.

Regards
Rakesh

Martin said:
Back many versions ago it was possible to wblock a drawing to it's existing name to clean up the database. Recent versions don't allow this. Has anyone worked out a way to get the old capability in 2004? I know it can be dangerous, but I'm willing to trade the danger of occasionally losing some work against the time to wblock to a dummy name, copy the dummy file to the original name, and erase the dummy file name.

Thanks,

Martin
 

Latest threads

Back
Top