Replies: 1 comment 2 replies
-
Not that I know of, you can use an event to capture and veto saveas command, or redefine the command from pyrx import Rx, Ge, Gi, Db, Ap, Ed, Ax
import traceback
#run this before loading
#(command ".undefine" "_SAVEAS")
@Ap.Command()
def SAVEAS():
try:
res = Ed.Core.getFileNavDialog("Save", "C:/Users/Dan/Desktop/dwgs/template", "dwg", "Save", 1)
print(res)
except Exception as err:
traceback.print_exception(err) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Can I call SAVEAS with a pre-set directory, filename, and file type (changeable by the user if necessary)?
Beta Was this translation helpful? Give feedback.
All reactions