tabs
Document colorizer python API.
Attributes
Functions
hex_to_brush(color_hex)
hex_from_brush(solid_brush)
Convert WPF brush to hex color.
get_tabcoloring_theme(usercfg)
Get tab coloring theme from settings.
Source code in pyrevitlib/pyrevit/revit/tabs.py
reset_tab_ordercolors(usercfg, theme)
Reset tab order colors to internal default.
set_tabcoloring_theme(usercfg, theme)
Set tab coloring theme in settings.
Source code in pyrevitlib/pyrevit/revit/tabs.py
get_tab_orderrule(theme, index)
add_tab_orderrule(theme, color)
remove_tab_orderrule(theme, index)
update_tab_orderrule(theme, index, color)
get_tab_filterrule(theme, index)
Get coloring filter rule from active theme, at index.
Source code in pyrevitlib/pyrevit/revit/tabs.py
add_tab_filterrule(theme, color, title_filter)
remove_tab_filterrule(theme, index)
update_tab_filterrule(theme, index, color=None, title_filter=None)
Update coloring filter rule at index, on active theme.
Source code in pyrevitlib/pyrevit/revit/tabs.py
update_tabstyle(theme, tab_style)
update_family_tabstyle(theme, tab_style)
get_doc_colorizer_state()
get_styled_slots()
toggle_doc_colorizer()
Toggle state of document colorizer.
Source code in pyrevitlib/pyrevit/revit/tabs.py
reset_doc_colorizer()
init_doc_colorizer(usercfg)
Initialize document colorizer from settings.