C# Class Revit.Samples.DirectionCalculation.FindSouthFacingWindows

Implementation class for utilities to find south facing windows in a project.
Inheritance: FindSouthFacingBase
Afficher le fichier Open project: AMEE/revit

Méthodes protégées

Méthode Description
CollectWindows ( ) : IEnumerable

Finds all windows in the active document.

Execute ( bool useProjectLocationNorth ) : void

The implementation of the FindSouthFacingWindows command.

GetWindowDirection ( FamilyInstance window ) : XYZ

Obtains the facing direction of the window.

GetWindowDirectionAlternate ( FamilyInstance window ) : XYZ

Alternate way to obtain the facing direction for the window.

Method Details

CollectWindows() protected méthode

Finds all windows in the active document.
protected CollectWindows ( ) : IEnumerable
Résultat IEnumerable

Execute() protected méthode

The implementation of the FindSouthFacingWindows command.
protected Execute ( bool useProjectLocationNorth ) : void
useProjectLocationNorth bool true to use the active project location's north/south direction. /// false to use the default coordinate system's north/south (Y-axis).
Résultat void

GetWindowDirection() protected méthode

Obtains the facing direction of the window.
protected GetWindowDirection ( FamilyInstance window ) : XYZ
window FamilyInstance
Résultat XYZ

GetWindowDirectionAlternate() protected méthode

Alternate way to obtain the facing direction for the window.
protected GetWindowDirectionAlternate ( FamilyInstance window ) : XYZ
window FamilyInstance The window.
Résultat XYZ