C# Class BuildingCoder.ExtensionMethods

Revit Document and IEnumerable extension methods.
Afficher le fichier Open project: jeremytammik/the_building_coder_samples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

IntersectsBoundingBox() public static méthode

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