Default Path - Update File Directory

Hey all,

Is it possible to edit the default file path for user files and family template files using Python?

image

I was reading the forum post below and found the way to read the file path, but with my limited knowledge of the API I’m unsure if it is possible to write/change these locations.

Any input would be great, happy Friday!

I believe this might the API Method you’re after:
http://www.revitapidocs.com/2018/67893fd8-1081-4d01-8ce3-6ea21b511a8a.htm

Although I’m not seeing the specifics (user files, template files). Let me see what the GetLibraryPaths method returns

EDIT - the above methods allow you to get/set the Library & Detail Library paths. I can’t find anything for user files, but this property allows you to get the location of the family template files, but not set them

1 Like

Thank you Amy!

1 Like