C# Class Revit.SDK.Samples.ImportExport.CS.ImportDWGForm

It contains a dialog which provides the options of importing dwg format
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
ImportDWGForm ( ImportDWGData importData ) : 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
InitializeComponent ( ) : void

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

InitializeControls ( ) : void

Initialize values and status of controls

SetImportColorMode ( ) : void

Set the value of color mode

SetImportLayers ( ) : void

Set the value of ImportVisibleLayersOnly

SetImportPlacement ( ) : void

Set the value of placement

SetImportUnitsAndScaling ( ) : void

Set the value of unit, scaling

SetImportViewsRelated ( ) : void

Set the value of ImportThisViewOnly, ImportOrientToView, ImportView

ValidateFileName ( ) : System.Boolean

Validate the file to import

buttonBrowser_Click ( object sender, EventArgs e ) : void

Specify a file to export from

buttonOpen_Click ( object sender, EventArgs e ) : void

Transfer information back to ImportData class and execute IMPORT operation

checkBoxCurrentViewOnly_CheckedChanged ( object sender, EventArgs e ) : void

Change the status of checkBoxOrient2View and comboBoxLevel according to the selection

comboBoxUnits_SelectedIndexChanged ( object sender, EventArgs e ) : void

Change the status of textBoxScale according to the selection

textBoxScale_KeyPress ( object sender, KeyPressEventArgs e ) : void

Only numbers and '.' permitted

textBoxScale_TextChanged ( object sender, EventArgs e ) : void

Only one '.' permitted

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

ImportDWGForm() public méthode

Constructor
public ImportDWGForm ( ImportDWGData importData ) : System
importData ImportDWGData
Résultat System