Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
*Expert Elite*
sbrusco
Posts: 1,180
Registered: ‎07-27-2000
Message 1 of 4 (189 Views)
Accepted Solution

Automate Options > Files Changes

189 Views, 3 Replies
08-17-2012 12:13 PM

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


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


 

Distinguished Mentor
Moshe-A
Posts: 827
Registered: ‎09-14-2003
Message 2 of 4 (185 Views)

Re: Automate Options > Files Changes

08-17-2012 12:55 PM 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


 

*Expert Elite*
sbrusco
Posts: 1,180
Registered: ‎07-27-2000
Message 3 of 4 (158 Views)

Re: Automate Options > Files Changes

08-20-2012 03:57 AM in reply to: Moshe-A

Hi moshe,

 

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

 

Sal


Distinguished Mentor
Moshe-A
Posts: 827
Registered: ‎09-14-2003
Message 4 of 4 (141 Views)

Re: Automate Options > Files Changes

08-20-2012 12:06 PM in reply to: sbrusco

Sal.

 

in Developer Help Documentation

 

  \ActiveX and VBA Reference

    \Objects

      \PreferenceFiles object

 

 

Moshe

 

 

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.