Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Data.Objects.Collectors package

Subpackages

Submodules

duHast.Data.Objects.Collectors.data_base module

Data base class for Revit object properties.

class duHast.Data.Objects.Collectors.data_base.DataBase(data_type, **kwargs)

Bases: Base

Class constructor

Parameters:

data_type (str) – human readable data type

property DataType

Property: returns the data type of this class.

Returns:

A string representing the data type

Return type:

str

duHast.Data.Objects.Collectors.data_ceiling module

Data storage class for Revit ceiling properties.

class duHast.Data.Objects.Collectors.data_ceiling.DataCeiling(j=None)

Bases: DataBase, DataElementGeometryBase

Class constructor.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'ceiling'

duHast.Data.Objects.Collectors.data_door module

Data storage class for Revit door properties.

class duHast.Data.Objects.Collectors.data_door.DataDoor(j=None)

Bases: DataFamilyBase

Class constructor.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'door'

duHast.Data.Objects.Collectors.data_family_base module

Data base storage class for Revit family properties.

class duHast.Data.Objects.Collectors.data_family_base.DataFamilyBase(j=None)

Bases: DataBase, DataElementGeometryBase

Class constructor.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'family_instance'

duHast.Data.Objects.Collectors.data_level_building module

Data storage class for Revit project level properties.

class duHast.Data.Objects.Collectors.data_level_building.DataLevelBuilding(j=None)

Bases: DataLevelBase

Class constructor

Parameters:

j (dict, optional) – json formatted dictionary of this class, defaults to {}

data_type = 'building level'

duHast.Data.Objects.Collectors.data_room module

Data storage class for Revit room properties.

class duHast.Data.Objects.Collectors.data_room.DataRoom(j=None)

Bases: DataBase, DataElementGeometryBase

Class constructor.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'room'

duHast.Data.Objects.Collectors.data_sheet module

Data storage base class used for Revit sheets.

  • contains

    • the title block

    • a list of view ports

    • a list of all sheet properties (instance and type)

class duHast.Data.Objects.Collectors.data_sheet.DataSheet(j=None)

Bases: DataBase

Class constructor.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'sheet'

duHast.Data.Objects.Collectors.data_sheet_view_port module

Data storage base class used for Revit sheets.

  • contains

    • the title block

    • a list of view ports

    • a list of all sheet properties (instance and type)

class duHast.Data.Objects.Collectors.data_sheet_view_port.DataSheetViewPort(j=None)

Bases: DataBase

Class constructor for a sheet view port.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'sheet view port'

duHast.Data.Objects.Collectors.data_tag module

Data storage base class used for element tags in views.

  • contains

    • the view id

    • the element tagged id

    • tag location

    • has tag leader

    • has tag elbow

    • elbow location

class duHast.Data.Objects.Collectors.data_tag.DataTag(j=None)

Bases: DataBase

Class constructor for a annotation tag.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to None

data_type = 'tag'

duHast.Data.Objects.Collectors.data_view_3d module

Data storage base class used for Revit views.

  • contains

    • the view bounding box in model coordinates

class duHast.Data.Objects.Collectors.data_view_3d.DataViewThreeD(j=None)

Bases: DataViewBase

Class constructor for a view_3d.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'view_3d'

duHast.Data.Objects.Collectors.data_view_base module

Data storage view base class used for Revit views.

  • contains
    • the view id

class duHast.Data.Objects.Collectors.data_view_base.DataViewBase(data_type, j=None)

Bases: DataBase

Class constructor for a view.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

duHast.Data.Objects.Collectors.data_view_elevation module

Data storage base class used for Revit views.

  • contains

    • the view bounding box in model coordinates

class duHast.Data.Objects.Collectors.data_view_elevation.DataViewElevation(j=None)

Bases: DataViewBase

Class constructor for a view_elevation.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'view_elevation'

duHast.Data.Objects.Collectors.data_view_plan module

Data storage base class used for Revit views.

  • contains

    • the view bounding box in model coordinates

class duHast.Data.Objects.Collectors.data_view_plan.DataViewPlan(j=None)

Bases: DataViewBase

Class constructor for a view_plan.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'view_plan'

duHast.Data.Objects.Collectors.data_view_schedule module

Data storage base class used for Revit views.

  • contains

    • the view bounding box in model coordinates

class duHast.Data.Objects.Collectors.data_view_schedule.DataViewSchedule(j=None)

Bases: DataViewBase

Class constructor for a view_schedule.

Parameters:

j (dict, optional) – A json formatted dictionary of this class, defaults to {}

data_type = 'view_schedule'

Module contents