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

显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
ProximityDetectionAndWallJoinControlForm ( Autodesk doc, ProximityDetection proximityDetection, WallJoinControl walljoinControl ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ClearTreeviewData ( ) : void

Clear the treeview's data

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RefreshTreeviewData ( string operation, XElement element ) : void

Refresh the treeview's data by given XML

XElementToTreeNode ( XElement element ) : TreeNode

This method converts XElement nodes to Tree nodes

buttonOK_Click ( object sender, EventArgs e ) : void
getAllEgresses ( ) : ICollection

Get all of the egresses

getAllWalls ( ) : IEnumerable

Get all of the walls

radioButtonCheckJoinedWalls_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonFindBlockingElements_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonFindColumnsInWall_CheckedChanged ( object sender, EventArgs e ) : void
radioButtonFindNearbyWalls_CheckedChanged ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

ProximityDetectionAndWallJoinControlForm() public method

Constructor
public ProximityDetectionAndWallJoinControlForm ( Autodesk doc, ProximityDetection proximityDetection, WallJoinControl walljoinControl ) : System
doc Autodesk Revit document
proximityDetection ProximityDetection The object that is responsible for proximity detection
walljoinControl WallJoinControl The object that is responsible for controlling the joint of walls
return System