components
Base classes for pyRevit extension components.
Attributes
mlogger = get_logger(__name__)
module-attribute
EXT_HASH_VALUE_KEY = 'dir_hash_value'
module-attribute
EXT_HASH_VERSION_KEY = 'pyrvt_version'
module-attribute
Classes
NoButton(cmp_path=None, needs_script=True)
Bases: GenericUICommand
This is not a button.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
script_file = None
instance-attribute
config_script_file = None
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
type_id = exts.NOGUI_COMMAND_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
NoScriptButton(cmp_path=None, needs_commandclass=False)
Bases: GenericUICommand
Base for buttons that doesn't run a script.
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
type_id = None
class-attribute
instance-attribute
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
assembly = None
instance-attribute
command_class = None
instance-attribute
avail_command_class = None
instance-attribute
script_file = self.meta_file
instance-attribute
config_script_file = self.meta_file
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
has_config_script()
get_target_assembly(required=False)
Source code in pyrevitlib/pyrevit/extensions/components.py
LinkButton(cmp_path=None)
Bases: NoScriptButton
Link button.
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
script_file = self.meta_file
instance-attribute
config_script_file = self.meta_file
instance-attribute
arguments = []
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
assembly = None
instance-attribute
command_class = None
instance-attribute
avail_command_class = None
instance-attribute
type_id = exts.LINK_BUTTON_POSTFIX
class-attribute
instance-attribute
context = None
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
has_config_script()
get_target_assembly(required=False)
Source code in pyrevitlib/pyrevit/extensions/components.py
InvokeButton(cmp_path=None)
Bases: NoScriptButton
Invoke button.
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
script_file = self.meta_file
instance-attribute
config_script_file = self.meta_file
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
assembly = None
instance-attribute
command_class = None
instance-attribute
avail_command_class = None
instance-attribute
type_id = exts.INVOKE_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
has_config_script()
get_target_assembly(required=False)
Source code in pyrevitlib/pyrevit/extensions/components.py
PushButton(cmp_path=None, needs_script=True)
Bases: GenericUICommand
Push button.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
script_file = None
instance-attribute
config_script_file = None
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
type_id = exts.PUSH_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
PanelPushButton(cmp_path=None, needs_script=True)
Bases: GenericUICommand
Panel push button.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
script_file = None
instance-attribute
config_script_file = None
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
type_id = exts.PANEL_PUSH_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
SmartButton(cmp_path=None, needs_script=True)
Bases: GenericUICommand
Smart button.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
script_file = None
instance-attribute
config_script_file = None
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
type_id = exts.SMART_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
ContentButton(cmp_path=None)
Bases: GenericUICommand
Content Button.
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
type_id = exts.CONTENT_BUTTON_POSTFIX
class-attribute
instance-attribute
script_file = self.find_bundle_file([exts.CONTENT_VERSION_POSTFIX.format(version=HOST_APP.version)])
instance-attribute
config_script_file = self.find_bundle_file([exts.ALT_CONTENT_VERSION_POSTFIX.format(version=HOST_APP.version)])
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
URLButton(cmp_path=None)
Bases: GenericUICommand
URL button.
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
needs_script = needs_script
instance-attribute
arguments = []
instance-attribute
context = None
instance-attribute
class_name = None
instance-attribute
avail_class_name = None
instance-attribute
requires_clean_engine = False
instance-attribute
requires_fullframe_engine = False
instance-attribute
requires_persistent_engine = False
instance-attribute
requires_mainthread_engine = False
instance-attribute
dynamo_path = None
instance-attribute
dynamo_path_check_existing = False
instance-attribute
dynamo_force_manual_run = False
instance-attribute
dynamo_model_nodes_info = None
instance-attribute
script_language
property
is_cpython
property
type_id = exts.URL_BUTTON_POSTFIX
class-attribute
instance-attribute
target_url = None
instance-attribute
script_file = self.meta_file
instance-attribute
config_script_file = self.meta_file
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
remove_module_path(path)
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
has_config_script()
GenericUICommandGroup(cmp_path=None)
Bases: GenericUIContainer
Generic UI command group.
Command groups only include commands. These classes can include GenericUICommand as sub components.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
type_id = None
class-attribute
instance-attribute
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
ui_title
property
tooltip
property
help_url
property
is_supported
property
layout_items = []
instance-attribute
components = []
instance-attribute
allowed_sub_cmps = [GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
control_id
property
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
PullDownButtonGroup(cmp_path=None)
Bases: GenericUICommandGroup
Pulldown button group.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
allowed_sub_cmps = [GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.PULLDOWN_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
SplitPushButtonGroup(cmp_path=None)
Bases: GenericUICommandGroup
Split push button group.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
allowed_sub_cmps = [GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.SPLITPUSH_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
SplitButtonGroup(cmp_path=None)
Bases: GenericUICommandGroup
Split button group.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
allowed_sub_cmps = [GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.SPLIT_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
GenericStack(cmp_path=None)
Bases: GenericUIContainer
Generic UI stack.
Stacks include GenericUICommand, or GenericUICommandGroup.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
ui_title
property
tooltip
property
help_url
property
is_supported
property
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.STACK_BUTTON_POSTFIX
class-attribute
instance-attribute
allowed_sub_cmps = [GenericUICommandGroup, GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
control_id
property
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
StackButtonGroup(cmp_path=None)
Bases: GenericStack
Stack buttons group.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
allowed_sub_cmps = [GenericUICommandGroup, GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.STACK_BUTTON_POSTFIX
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Panel(cmp_path=None)
Bases: GenericUIContainer
Panel container.
Panels include GenericStack, GenericUICommand, or GenericUICommandGroup
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.PANEL_POSTFIX
class-attribute
instance-attribute
allowed_sub_cmps = [GenericStack, GenericUICommandGroup, GenericUICommand, NoScriptButton]
class-attribute
instance-attribute
panel_background = None
instance-attribute
title_background = None
instance-attribute
slideout_background = None
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
has_commands()
contains(item_name)
Source code in pyrevitlib/pyrevit/extensions/components.py
Tab(cmp_path=None)
Bases: GenericUIContainer
Tab container for Panels.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
control_id
property
ui_title
property
tooltip
property
help_url
property
is_supported
property
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.TAB_POSTFIX
class-attribute
instance-attribute
allowed_sub_cmps = [Panel]
class-attribute
instance-attribute
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
configure(config_dict)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
Extension(cmp_path=None)
Bases: GenericUIContainer
UI Tools extension.
Source code in pyrevitlib/pyrevit/extensions/components.py
Attributes
name = None
instance-attribute
is_container
property
directory = cmp_path
instance-attribute
unique_name = None
instance-attribute
parent_ctrl_id = None
instance-attribute
icon_file = None
instance-attribute
author = None
instance-attribute
media_file = None
instance-attribute
min_revit_ver = None
instance-attribute
max_revit_ver = None
instance-attribute
is_beta = False
instance-attribute
highlight_type = None
instance-attribute
collapsed = False
instance-attribute
version = None
instance-attribute
meta = {}
instance-attribute
meta_file = None
instance-attribute
modules = []
instance-attribute
module_paths = []
instance-attribute
binary_path = None
instance-attribute
library_path = None
instance-attribute
ui_title
property
tooltip
property
help_url
property
is_supported
property
layout_items = []
instance-attribute
components = []
instance-attribute
type_id = exts.ExtensionTypes.UI_EXTENSION.POSTFIX
class-attribute
instance-attribute
allowed_sub_cmps = [Tab]
class-attribute
instance-attribute
pyrvt_version = None
instance-attribute
dir_hash_value = None
instance-attribute
control_id
property
startup_script
property
Functions
get_cache_data()
load_cache_data(cache_dict)
matches(component_path)
classmethod
make_unique_name(cmp_path)
classmethod
Creates a unique name for the command.
This is used to uniquely identify this command and also to create the class in pyRevit dll assembly. Current method create a unique name based on the command full directory address.
Examples:
for 'pyRevit.extension/pyRevit.tab/Edit.panel/Flip doors.pushbutton' unique name would be: 'pyrevit-pyrevit-edit-flipdoors'.
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_full_bundle_name()
has_module_path(path)
add_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
remove_module_path(path)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_bundle_file(file_name)
find_bundle_file(patterns, finder='postfix')
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_bundle_module(module, by_host=False)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_directive(layout_line)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_item(layout_line)
parse_layout_items(layout_lines)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
parse_layout_metadata()
contains(item_name)
add_component(comp)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_components_of_type(cmp_type)
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
find_layout_items()
Source code in pyrevitlib/pyrevit/extensions/genericcomps.py
get_hash()
get_all_commands()
get_manifest_file()
get_manifest()
Source code in pyrevitlib/pyrevit/extensions/components.py
configure()
get_extension_modules()
Source code in pyrevitlib/pyrevit/extensions/components.py
get_command_modules()
Source code in pyrevitlib/pyrevit/extensions/components.py
get_hooks()
LibraryExtension(cmp_path=None)
Bases: GenericComponent
Library extension.