C# Class Revit.SDK.Samples.NewRoof.RoofForms.CS.RoofForm

The main form to create or delete roof in Revit.
Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: AMEE/revit

Public Methods

Method Description
RoofForm ( RoofsManager roofsManager ) : System

The construct of the RoofForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
EditRoofItem ( object sender, RoofItem item ) : void

Edit a roof's properties.

InitializeComponent ( ) : void

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

RoofForm ( ) : System

The private construct.

RoofForm_Load ( object sender, EventArgs e ) : void

When the RoofForm was loaded, then initialize data of the controls in the form.

createExtrusionRoof ( ) : void

Create a extrusion roof.

createFootPrintRoof ( ) : void

Create a new footprint roof.

createRoofButton_Click ( object sender, EventArgs e ) : void

when createRoofButton was clicked, then create a new roof.

editRoofButton_Click ( object sender, EventArgs e ) : void

When editRoofButton was click, then create a new RoofEditorForm to edit the selected roof.

extrusionEndTextBox_Validating ( object sender, CancelEventArgs e ) : void

Validate the extrusion end value.

extrusionStartTextBox_Validating ( object sender, CancelEventArgs e ) : void

Validate the extrusion start value.

roofsListView_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

When the event occurred, then create a new RoofEditorForm to edit the roof.

selectFootPrintButton_Click ( object sender, EventArgs e ) : void

When selectFootPrintButton was clicked, then select some footprint loops in Revit.

selectProfileButton_Click ( object sender, EventArgs e ) : void

When selectFootPrintButton was clicked, then select profile in Revit.

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

RoofForm() public method

The construct of the RoofForm class.
public RoofForm ( RoofsManager roofsManager ) : System
roofsManager RoofsManager A reference to the roofs manager
return System