Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Ceilings.Geometry package

Submodules

duHast.Revit.Ceilings.Geometry.geometry module

This module contains a Revit ceilings geometry extraction functions.

duHast.Revit.Ceilings.Geometry.geometry.get_2d_points_from_revit_ceiling(ceiling)

Returns a list of lists of points representing the flattened(2D geometry) of the ceiling List of Lists because a ceiling can be made up of multiple sketches. Each nested list represents one ceiling sketch. Does not work with in place ceilings.

Parameters:

ceiling (Autodesk.Revit.DB.Ceiling) – A revit ceiling instance.

Returns:

A list of data geometry instances.

Return type:

list of DataGeometry

duHast.Revit.Ceilings.Geometry.geometry.get_2d_points_from_revit_ceilings_in_model(doc)

Returns a list of lists of points representing the flattened(2D geometry) of the ceiling List of Lists because a ceiling can be made up of multiple sketches. Each nested list represents one ceiling sketch. Does not work with in place ceilings.

Parameters:

doc (Autodesk.Revit.DB.Document) – Current Revit model document.

Returns:

A list of data geometry instances.

Return type:

list of DataGeometry

Module contents