Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Editing block and closing the whole drawing by mistake without saving

6 REPLIES 6
Reply
Message 1 of 7
KODA-Steffen
509 Views, 6 Replies

Editing block and closing the whole drawing by mistake without saving

 

Hi

 

I dont know how many times i have been editing a block in a drawing and then clicked on the cross. Instead of closing the block editor i closed the whole drawing, many times without saving. 

 

It should have been made impossible to close the main drawing while editing a block!

 

Yours sincerely 

Stefan Emhjellen

6 REPLIES 6
Message 2 of 7

I have done the same thing many times!

Message 3 of 7
nrz13
in reply to: KODA-Steffen

A workaround to avoid the interface confusion is to use keyboard shortcuts for exiting the block editor.  I use "SB" and "DB" for "save block" and "discard block changes" respectively.  Here's the LISP:

(defun c:SB ()(command "bclose" "s" "regen")(princ))

(defun c:DB ()(command "bclose" "d" "regen")(princ))

Note:  the drawing automatically regens after exiting the editor.  The second regen I added was to fix layer order issues after exiting the block editor.  If you don't have that problem, you can remove the "regen" part.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
Message 4 of 7
leothebuilder
in reply to: nrz13

I use the keyboard 95% for all commands.

I guess you could add the BCLOSE command to the .pgp file as BC.

I like your solution because it adds the "save" command.

Thx

Message 5 of 7

 

 

Jepp.  i have to change this bad habbit and use BK shortcut  for closing blocks

 

(Still i wish Autodesk could change this  "trap" )

 

Thanks

 

 

 

Message 6 of 7
KODA-Steffen
in reply to: KODA-Steffen

 BC !

Message 7 of 7

Way way back up to around release 12 or so END would end your autocad session.

There were so many times I tried to enter END for osnap and it would bomb me out ot autocad.

Fortunately they Autodesk changed that.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost