Author Topic: SAVEMODE  (Read 3054 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
SAVEMODE
« on: February 10, 2005, 04:28:58 PM »
Hi all,

I need to know if there is a variable to set
than when i QSAVE the drawing it will save in another release ?
Keep smile...

ronjonp

  • Needs a day job
  • Posts: 7531
SAVEMODE
« Reply #1 on: February 10, 2005, 04:44:51 PM »
This saves 2004 drawings.
Code: [Select]
(setenv "DefaultFormatForSave" "24")

This saves 2000 drawings.
Code: [Select]
(setenv "DefaultFormatForSave" "c")

I tested it a little more and the hexadecimal values change.....so it might not work.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Big G

  • Bull Frog
  • Posts: 415
SAVEMODE
« Reply #2 on: February 11, 2005, 04:49:39 AM »
Andrea,

When FILEDIA is set to 0 (zero), SAVEAS displays the following prompts on the command line.

Current file format: current

Enter file format [2000(LT2000)/2004/Standards/DXF/Template] <2004>:

Enter an option or press ENTER

Save drawing as <current>:  Enter a name or press ENTER

Maybe you can work with this?
G
I thought i seen the light at the end of the tunnel. But it was just someone with a torch bringing me more work.
"You have to accept that somedays youre the pigeon and  somedays youre the statue"

Big G

  • Bull Frog
  • Posts: 415
SAVEMODE
« Reply #3 on: February 11, 2005, 06:20:07 AM »
I thought i seen the light at the end of the tunnel. But it was just someone with a torch bringing me more work.
"You have to accept that somedays youre the pigeon and  somedays youre the statue"

Fuccaro

  • Guest
SAVEMODE
« Reply #4 on: February 11, 2005, 07:23:11 AM »
Tools > Options... > Open and save
In the "File Save" you can set the same values as in the "save as" from the file menu.
I used this when working for a customer and he asked all the models in dxf format.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: SAVEMODE
« Reply #5 on: February 11, 2005, 07:43:38 AM »
Quote from: Andrea
Hi all,

I need to know if there is a variable to set
than when i QSAVE the drawing it will save in another release ?

Have you tried ...
Code: [Select]
(vla-put-saveastype
    (vla-get-opensave
        (vla-get-preferences
            (vlax-get-acad-object)
        )
    )    
    code
)

Codes ...

acR12_DXF        AutoCAD Release12/LT2 DXF (*.dxf)

ac2000_dwg       AutoCAD 2000 DWG (*.dwg)

ac2000_dxf       AutoCAD 2000 DXF (*.dxf)

ac2000_Template  AutoCAD 2000 Drawing Template File (*.dwt)

ac2004_dwg       AutoCAD 2004 DWG (*.dwg)

ac2004_dxf       AutoCAD 2004 DXF (*.dxf)

ac2004_Template  AutoCAD 2004 Drawing Template File (*.dwt)

acNative         A synonym for the current drawing release
                 format. If you want your application to save
                 the drawing in the format of whatever version
                 of AutoCAD the application is running on,
                 then use the acNative format.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Andrea

  • Water Moccasin
  • Posts: 2372
SAVEMODE
« Reply #6 on: February 11, 2005, 05:15:51 PM »
Thank you all....very useful forum here.. :D

have a nice weekend.
Keep smile...