Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automate Options > Files Changes

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
sbrusco
332 Views, 3 Replies

Automate Options > Files Changes

Hi All,

 

I found this little ditty here before and i'm now trying to expand it but don't know enough or where to find the answers so i'm back.

 

As you can see, if i rename this to "acad.lsp" and put it in the network search path of AutoCAD users, it will update several settings in their Options > Files. WHAT A TIME SAVER THIS HAS BEEN!

 

What i want to do now is to set the "Default Template File Name for QNEW" but i don't know how to complete this line:

 

(vlax-put-property AcadFiles ___________ <variableName>)

 

Can anyone tell me how to fill in the blank?

 

TIA,

 

Sal


3 REPLIES 3
Message 2 of 4
Moshe-A
in reply to: sbrusco

it should be:
QNewTemplateFile
moshe
@sbrusco wrote:

Hi All,

 

I found this little ditty here before and i'm now trying to expand it but don't know enough or where to find the answers so i'm back.

 

As you can see, if i rename this to "acad.lsp" and put it in the network search path of AutoCAD users, it will update several settings in their Options > Files. WHAT A TIME SAVER THIS HAS BEEN!

 

What i want to do now is to set the "Default Template File Name for QNEW" but i don't know how to complete this line:

 

(vlax-put-property AcadFiles 'QNewTemplateFile <QNew Template File Path>)

 

Can anyone tell me how to fill in the blank?

 

TIA,

 

Sal


 

Message 3 of 4
sbrusco
in reply to: Moshe-A

Hi moshe,

 

Thanks for the solution. Is there some place i can find a collection of these "properties?"

 

Sal


Message 4 of 4
Moshe-A
in reply to: sbrusco

Sal.

 

in Developer Help Documentation

 

  \ActiveX and VBA Reference

    \Objects

      \PreferenceFiles object

 

 

Moshe

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost