C# Class BuildingCoder.ExtensionMethods

Revit Document and IEnumerable extension methods.
ファイルを表示 Open project: jeremytammik/the_building_coder_samples

Public Methods

Method Description
FindAllViewsWhereAllElementsVisible ( this elements ) : IEnumerable

Return all views that display any of the given elements.

IntersectsBoundingBox ( this view, BoundingBoxXYZ targetBoundingBox ) : bool

View extension predicate method: does this view intersect the given bounding box?

Private Methods

Method Description
FindAllViewsThatCanDisplayElements ( this doc ) : IEnumerable

Return an enumeration of all views in this document that can display elements at all.

Method Details

FindAllViewsWhereAllElementsVisible() public static method

Return all views that display any of the given elements.
public static FindAllViewsWhereAllElementsVisible ( this elements ) : IEnumerable
elements this
return IEnumerable

IntersectsBoundingBox() public static method

View extension predicate method: does this view intersect the given bounding box?
public static IntersectsBoundingBox ( this view, BoundingBoxXYZ targetBoundingBox ) : bool
view this
targetBoundingBox BoundingBoxXYZ
return bool