Skip to content

about

Utility module for pyRevit project information.

Examples:

from pyrevit.versionmgr import about
a = about.get_pyrevit_about()
a.subtitle
'python RAD Environment for Autodesk Revit®'a.copyright'© 2014-2024 Ehsan Iran-Nejad'

Attributes

PyRevitAbout = namedtuple('PyRevitAbout', ['subtitle', 'madein', 'copyright']) module-attribute

pyRevit project info tuple.

Attributes:

Name Type Description
subtitle str

project subtitle

madein str

project made-in info

copyright str

project copyright info

Functions

get_pyrevit_about()

Return information about pyRevit project.

Returns:

Type Description
PyRevitAbout

pyRevit project info tuple

Source code in pyrevitlib/pyrevit/versionmgr/about.py
def get_pyrevit_about():
    """Return information about pyRevit project.

    Returns:
        (PyRevitAbout): pyRevit project info tuple
    """
    return PyRevitAbout(subtitle='python RAD Environment for Autodesk Revit®',
                        madein="['pdx', 'hio', 'rno', 'sea']",
                        copyright='© 2014-2024 Ehsan Iran-Nejad')