[Solved] Save, Close and Re-open active drawing

Save and close are "built in" (Qsave, Wclose) but is there any command for open just closed drawing? Alt F F Enter works for open recent #1 but I want to to use a tool button for it.

I need that operation to be done sometimes for "cleaning up".
(I don't know exactly what helps if I do so, but.. it helps!)

Comments

  • Maybe you can get the path and filename from the variables DWGPREFIX and DWGNAME, and then feed that to the Open command. And maybe save and close the file in between those two steps. Or maybe just save it but not close it, and answer Yes to the error message that says the file is already open and asks if you want to revert to the last saved version.

  • Well, I can have this as a command for a tool

    ^c^c_filedia;0;save;;filedia;1

    But my issue remains, I still need to close and open.

    But you got me in to the answer: revert

    ^c^c_qsave;revert

    Works!

    Thanks!

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.