Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Categories.Objects package

Submodules

duHast.Revit.Categories.Objects.object_style module

A class used to store category graphics styles.

class duHast.Revit.Categories.Objects.object_style.ObjectStyle(main_category_name='', sub_category_name='', category_id=-1, data_type='object_style', j=None, **kwargs)

Bases: Base

Class constructor.

compare_object_styles(other)

Ignores material property when comparing!

Parameters:

other (ObjectStyle) – An instance of ObjectStyle

Returns:

True if all graphical properties of compared class instances are equal, otherwise False.

Return type:

Bool

get_all_used_line_patterns()

Extract dictionary of line pattern names to line pattern objects

Returns:

Dictionary of line pattern names to line pattern objects

Return type:

{str: LinePatternSettings}

Module contents