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

The class that is responsible for controlling the joint of walls
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
checkJoinedWalls ( IEnumerable walls ) : System.Xml.Linq.XElement

Check every wall's joined walls by WallUtils method in initial, after disallow join, then after allow join states

getInstance ( Autodesk app, Autodesk doc ) : WallJoinControl

Get the singleton instance of WallJoinControl

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

Метод Описание
GetGeometryInfo ( LocationCurve locationCurve, int end ) : System.Xml.Linq.XElement

Get wall's one end geometry information

GetIsWallJoinAllowedAtEnd ( Wall wall, int end ) : System.Xml.Linq.XElement

Get wall's one end IsWallJoinAllowedAtEnd API method's result

GetJoinedWalls ( LocationCurve locationCurve, int end ) : System.Xml.Linq.XElement

Get wall's one end all joined walls

GetState ( Wall wall, LocationCurve locationCurve, int end, System.Xml.Linq.XElement statenode ) : System.Xml.Linq.XElement

Get wall's one end state

WallJoinControl ( Autodesk app, Autodesk doc ) : System

Constructor

checkWallEnd ( Wall wall, LocationCurve locationCurve, int end, System.Xml.Linq.XElement endnode ) : System.Xml.Linq.XElement

Check wall's two ends in three states

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

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

Check every wall's joined walls by WallUtils method in initial, after disallow join, then after allow join states
public checkJoinedWalls ( IEnumerable walls ) : System.Xml.Linq.XElement
walls IEnumerable The walls to be checked
Результат System.Xml.Linq.XElement

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

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