Issues Enabling Extensions and Saving Settings in pyRevit

Hello pyRevit Community,

I’m encountering some challenges with enabling certain extensions, such as the pyRevitBundleCreatorExtension, and custom extensions in pyRevit. Despite following the usual steps to enable these extensions, they don’t seem to activate correctly. Additionally, I’m unable to save settings related to folder paths within these extensions.

Here are the details:

Extensions Not Enabling: After installing and attempting to enable the extensions through the pyRevit CLI, they don’t appear to activate. I’ve checked the extension directories and everything seems to be in place, but they still won’t show up in the Revit interface.

Saving Settings Issue: For extensions that do appear, I’m facing difficulties saving settings, particularly for folder paths. Even after specifying the correct paths, the settings revert or don’t save at all.

I’ve tried the following steps:

  1. Reinstalling pyRevit.
  2. Manually placing the extensions in the correct directo

ries.
3. Running pyRevit with administrative privileges.
4. Using the pyrevit config command to manually set paths.

Has anyone else encountered similar issues or have any suggestions on how to resolve this? Any insights would be greatly appreciated!

Thank you!

Never heard of such an issue.
It seems you install with the admin installer as the pyrevit-master folder is in program files
you install points to a default extensions path to your appdata folder
your pyrevit-config.ini does not state anything related to extensions

  1. do you have some remaining of previous install in your %appdata%/pyrevit or %appdata%/pyrevit-master ?
  2. edit your config file with your path to the custom extension set in this manner:
[core]
userextensions = ["C:\\pathtoyourextensions"]

Thank you for the quick response!

You were correct; I did install pyRevit using the admin installer, which placed the pyrevit-master folder in the Program Files directory. I’ve checked my %appdata% folders, and there were no remnants of previous installations, which I’ve cleared out.

I’ve also updated my pyrevit-config.ini file located in
“C:\ProgramData\pyRevit”

as you suggested, adding the path to my custom extension:

[environment]
clones = {"master":"C:\\Program Files\\pyRevit-Master"}

[core]
userextensions = ["C:\\Users\\jabpr\\Desktop\\ABG_222504_PyRevitMyTools\\MyTool"]

However, the custom tab still isn’t showing up in Revit. I verified that the folder structure and naming are correct, with the .extension suffix included.

If you have any further suggestions or if there’s anything else I might be overlooking, I’d appreciate your guidance. Thanks again for your help!

Please provide screen capture of your folders, that will help.

Thank you again for your help! :tada: Your suggestion worked perfectly, and my custom extensions are now loading as expected.

As you requested earlier, here’s a screen capture of my folders:

The pyRevit_config.ini file was missing and i located in the C:\Users\jabpr\AppData\Roaming\pyRevit directory, and the custom extension path has been added successfully.

Thanks again for your assistance—it really made a difference!

1 Like