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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System.Xml.Linq.XElement

getInstance() public static méthode

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