Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Doors package

Subpackages

Submodules

duHast.Revit.Doors.doors module

This module contains a number of functions around Revit doors.

duHast.Revit.Doors.doors.get_door_instances(doc)

Retrieves a list of door instances in a Revit model.

Parameters:

doc (Document) – The Revit document object.

Returns:

A list of door instances in the Revit model.

Return type:

Autodesk.Revit.DB.FilteredElementCollector

duHast.Revit.Doors.doors.get_door_symbols(doc)

Retrieves a list of door symbols in a Revit model.

Parameters:

doc (Revit Document) – The Revit document object.

Returns:

A list of door symbols in the Revit model.

Return type:

Autodesk.Revit.DB.FilteredElementCollector

duHast.Revit.Doors.doors.get_door_families(doc)

Retrieves a list of door families in a Revit model.

Parameters:

doc (Revit Document) – The Revit document object.

Returns:

A list of door families in the Revit model.

Return type:

list

duHast.Revit.Doors.doors.get_curtain_wall_door_instances(doc)

Retrieves a list of door instances in a Revit model that are considered curtain wall doors.

Parameters:

doc (Revit Document) – The Revit document object. It represents the Revit model.

Returns:

A list of door instances in the Revit model that are considered curtain wall doors.

Return type:

list of Autodesk.Revit.DB.FamilyInstance

duHast.Revit.Doors.doors.get_curtain_wall_door_symbols(doc)

Retrieves a list of door symbols that are considered curtain wall doors in a Revit model.

Parameters:

doc (Revit Document) – The Revit document object.

Returns:

A list of door symbols that are considered curtain wall doors in the Revit model.

Return type:

list

duHast.Revit.Doors.doors.get_curtain_wall_door_families(doc)

Retrieves a list of curtain wall door families in a Revit model.

Parameters:

doc (Autodesk.Revit.DB.Document) – The Revit document object.

Returns:

A list of curtain wall door families in the Revit model.

Return type:

list[Autodesk.Revit.DB.Family]

duHast.Revit.Doors.doors.get_basic_wall_door_instances(doc)

Retrieves a list of door instances in a Revit model that are not considered curtain wall doors.

Parameters:

doc (Revit Document) – The Revit document object.

Returns:

A list of door instances in the Revit model that are not considered curtain wall doors.

Return type:

list

duHast.Revit.Doors.doors.get_basic_wall_door_symbols(doc)

Returns a list of door symbols that are not curtain wall doors in a Revit model.

Parameters:

doc (Document) – The Revit document object.

Returns:

A list of door symbols that are not curtain wall doors in the Revit model.

Return type:

list[FamilySymbol]

duHast.Revit.Doors.doors.get_basic_wall_door_families(doc)

Retrieves a list of basic wall door families in a Revit model.

Parameters:

doc (Document) – The Revit document object.

Returns:

A list of basic wall door families in the Revit model.

Return type:

list

duHast.Revit.Doors.doors_create module

This module contains a number of functions around creating Revit doors.

duHast.Revit.Doors.doors_create.door_in_basic_wall(doc, door_symbol, door_location, wall, wall_level)

Module contents