C# Класс Revit.SDK.Samples.ProximityDetection_WallJoinControl.CS.ProximityDetection

The class that is responsible for proximity detection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

findBlockingElements() публичный Метод

Find elements blocking egress
public findBlockingElements ( ICollection egresses ) : System.Xml.Linq.XElement
egresses ICollection The egresses to be detected
Результат System.Xml.Linq.XElement

findColumnsInWall() публичный Метод

Find columns in wall
public findColumnsInWall ( IEnumerable walls ) : System.Xml.Linq.XElement
walls IEnumerable The walls to be detected
Результат System.Xml.Linq.XElement

findNearbyWalls() публичный Метод

Find walls (nearly joined to) end of walls
public findNearbyWalls ( IEnumerable walls ) : System.Xml.Linq.XElement
walls IEnumerable The walls to be detected
Результат System.Xml.Linq.XElement

getInstance() публичный статический Метод

Get the singleton instance of ProximityDetection
public static getInstance ( Autodesk app, Autodesk doc ) : ProximityDetection
app Autodesk Revit application
doc Autodesk Revit document
Результат ProximityDetection