C# Class Revit.Samples.DirectionCalculation.FindSouthFacingWindows

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

Protected Methods

Method 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 method

Finds all windows in the active document.
protected CollectWindows ( ) : IEnumerable
return IEnumerable

Execute() protected method

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).
return void

GetWindowDirection() protected method

Obtains the facing direction of the window.
protected GetWindowDirection ( FamilyInstance window ) : XYZ
window FamilyInstance
return XYZ

GetWindowDirectionAlternate() protected method

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