C# Class Revit.SDK.Samples.PlaceFamilyInstanceByFace.CS.PlaceFamilyInstanceForm

Mostra file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
PlaceFamilyInstanceForm ( FamilyInstanceCreator creator, BasedType type ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AdjustComboBoxDropDownListWidth ( ComboBox senderComboBox ) : void

Adjust the comboBox dropDownList width

InitializeComponent ( ) : void

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

SetFaceIndex ( int index ) : void

Get face information when the selected face is changed

buttonCreate_Click ( object sender, EventArgs e ) : void

Create a family instance according the selected options by user

comboBoxFace_SelectedIndexChanged ( object sender, EventArgs e ) : void

Process the SelectedIndexChanged event of comboBoxFace

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

PlaceFamilyInstanceForm() public method

Constructor
public PlaceFamilyInstanceForm ( FamilyInstanceCreator creator, BasedType type ) : System
creator FamilyInstanceCreator the family instance creator
type BasedType based-type
return System