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

Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
PlaceFamilyInstanceForm ( FamilyInstanceCreator creator, BasedType type ) : System

Constructor

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

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

PlaceFamilyInstanceForm() public méthode

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