Changing Path for Main Customization File

Changing Path for Main Customization File

Anonymous
Not applicable
2,219 Views
4 Replies
Message 1 of 5

Changing Path for Main Customization File

Anonymous
Not applicable

Can't seam to find the variable to change this.

 

I have looked in the system variables and registry.

 

The idea is to set this path with lisp.

 

Any help would be appreciated.

0 Likes
Accepted solutions (1)
2,220 Views
4 Replies
Replies (4)
Message 2 of 5

ВeekeeCZ
Consultant
Consultant
Accepted solution
Try environment variables
(getenv "MenuFile")
http://www.afralisp.net/archive/lisp/enviro.htm
0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks for the help

0 Likes
Message 4 of 5

gustavobernardi
Advocate
Advocate

Nice! And how to update the cuix (especially the ribbon). Actually I am changing the workspace to other then returning (but it is not nice).

 

TIA

0 Likes
Message 5 of 5

Anonymous
Not applicable

This is a good tip but it does not get the 'Main Customization File' location.  (getenv "MenuFile") returns the following:


"C:\\Users\\<username>\\appdata\\roaming\\autodesk\\c3d 2021\\enu\\support\\c3d"

 

I know this because my current 'Main Customization File' is pointed to a different location.

If anyone knows how to get the 'Main Customization File' that would be great.

 

0 Likes