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

The class that is responsible for controlling the joint of walls
Datei anzeigen Open project: AMEE/revit Class Usage Examples

Public Methods

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

Private Methods

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

Method Details

checkJoinedWalls() public method

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
return System.Xml.Linq.XElement

getInstance() public static method

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