C# Class Revit.SDK.Samples.ProximityDetection_WallJoinControl.CS.ProximityDetection

The class that is responsible for proximity detection
Datei anzeigen Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
findBlockingElements ( ICollection egresses ) : System.Xml.Linq.XElement

Find elements blocking egress

findColumnsInWall ( IEnumerable walls ) : System.Xml.Linq.XElement

Find columns in wall

findNearbyWalls ( IEnumerable walls ) : System.Xml.Linq.XElement

Find walls (nearly joined to) end of walls

getInstance ( Autodesk app, Autodesk doc ) : ProximityDetection

Get the singleton instance of ProximityDetection

Private Methods

Method Description
ProximityDetection ( Autodesk app, Autodesk doc ) : System

Constructor

nearbyWallsFilter ( XYZ point, double height, double radius ) : FilteredElementCollector

Find the nearby walls on specific point and in specific height

Method Details

findBlockingElements() public method

Find elements blocking egress
public findBlockingElements ( ICollection egresses ) : System.Xml.Linq.XElement
egresses ICollection The egresses to be detected
return System.Xml.Linq.XElement

findColumnsInWall() public method

Find columns in wall
public findColumnsInWall ( IEnumerable walls ) : System.Xml.Linq.XElement
walls IEnumerable The walls to be detected
return System.Xml.Linq.XElement

findNearbyWalls() public method

Find walls (nearly joined to) end of walls
public findNearbyWalls ( IEnumerable walls ) : System.Xml.Linq.XElement
walls IEnumerable The walls to be detected
return System.Xml.Linq.XElement

getInstance() public static method

Get the singleton instance of ProximityDetection
public static getInstance ( Autodesk app, Autodesk doc ) : ProximityDetection
app Autodesk Revit application
doc Autodesk Revit document
return ProximityDetection