SAVE AS

SAVE AS

W_T_
Advocate Advocate
548 Views
5 Replies
Message 1 of 6

SAVE AS

W_T_
Advocate
Advocate

Is it possible to set it with LISP?

W_T__0-1702551469751.png

 

0 Likes
Accepted solutions (2)
549 Views
5 Replies
Replies (5)
Message 2 of 6

EnM4st3r
Advocate
Advocate
Accepted solution

vla-put-saveastype

example:

(vla-put-saveastype (vla-get-opensave (vla-get-preferences (vlax-get-acad-object))) ac2018_dwg)
0 Likes
Message 3 of 6

hak_vz
Advisor
Advisor
Accepted solution
(defun c:savetover2010 nil	
	(vl-load-com)
	; 64 - autocad 2018
	; 60 - autocad 2013
	; 48 - autocad 2010
	; 36 - autocad 2007
	; 24 - autocad 2004
	; 12 - autocad 2000

	(vla-put-saveastype 
		(vla-get-opensave
			(vla-get-preferences
				(vla-get-application (vlax-get-acad-object))
			)
		)
		48
	)
	(vla-Save  (vla-get-activedocument (vlax-get-acad-object)))
	(princ)
)

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
0 Likes
Message 4 of 6

W_T_
Advocate
Advocate

どうもありがとうございました。

0 Likes
Message 5 of 6

W_T_
Advocate
Advocate

どうもありがとうございました。

勉強になりました。

0 Likes
Message 6 of 6

martti.halminen
Collaborator
Collaborator

Please note that this only affects the SAVEAS -command default format. Regardless of this setting, the SAVE command will still save in the newest format.

- If that can also be changed, I'd be rather interested to know how...

0 Likes