saving in two directories

Discussion in 'AutoCAD' started by ac0103, Jun 29, 2004.

  1. ac0103

    ac0103 Guest

    Does anyone have a way to save in two directories in one step? Thanks
     
    ac0103, Jun 29, 2004
    #1
  2. This is a good starting point:
    (defun C:save2 (/ fd firstdir seconddir)
    (setq fd (getvar "filedia"))
    (setq firstdir (getstring "\nEnter First Path and Filename: "))
    (setq seconddir (getstring "\nEnter Second Path and Filename: "))
    (setvar "filedia" 0)
    (vl-cmdf "saveas" "" firstdir )
    (vl-cmdf "saveas" "" seconddir )
    (setvar "filedia" fd)
    (princ)
    )

    With a little more work dialog can be included, the current filename can be
    used etc.
    John
     
    John Georgiev, Jun 29, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.