Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with number of Tab colors #1196

Closed
robin-911 opened this issue Mar 23, 2021 · 2 comments
Closed

Issue with number of Tab colors #1196

robin-911 opened this issue Mar 23, 2021 · 2 comments
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Prioritize The issue is planned to be resolved in the next version

Comments

@robin-911
Copy link

For the new 4.8.6 version

When reducing the number of Tab colors to 3, PyRevit gives an error message. When clicking that away Revit give the "An unrecoverable error has occured" message en closes.

Tested in both 2020 and 2021 with the same result.

Work around so far is to add the colors you want first and then delete the ones you don't want, by selecting it and clicking the - button

@eirannejad
Copy link
Collaborator

Thank you for reporting this. Here are a few workaround and tips until I publish a fix:

  1. You can double-click on the color swatches

E1pzNwshoT

  1. If you somehow ended up with an empty color list that makes Revit crash on startup, make sure to clean the configs. Open the %APPDATA%\pyRevit\pyRevit_config.ini file and remove the [tabcoloring] section. So all of this:
[tabcoloring]
sort_colorize_docs = false
tabstyle_index = 2
family_tabstyle_index = 5
tab_colors = []
tab_filtercolors = {}
use_family_colorize_theme = false
family_colors = []
family_filtercolors = {}

@eirannejad eirannejad added Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Prioritize The issue is planned to be resolved in the next version labels Mar 23, 2021
eirannejad added a commit that referenced this issue Mar 23, 2021
@eirannejad
Copy link
Collaborator

Fixed and will be published with next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Prioritize The issue is planned to be resolved in the next version
Projects
None yet
Development

No branches or pull requests

2 participants