Skip to content

record

Provides base class for telemetry records.

Attributes

Classes

CommandCustomResults

Bases: object

Wrapper around ScriptExecutor's EXEC_PARAMS.result_dict.

ScriptExecutor provides this results dictionary to all scripts, and scripts can add key:value pairs to the dictionary. But since the provided dictionary is a C# dictionary, this class provides a very easy to use wrapper around it.

Examples:

CommandCustomResults().returnparam = 'some return value'

Attributes

RESERVED_NAMES = ['time', 'username', 'revit', 'revitbuild', 'sessionid', 'pyrevit', 'debug', 'config', 'commandname', 'result', 'source'] class-attribute instance-attribute