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

Base data class which stores the basic information for import
Mostrar archivo Open project: AMEE/revit Class Usage Examples

Protected Properties

Property Type Description
m_activeDoc Document
m_commandData ExternalCommandData
m_filter String
m_importFileFullName String
m_importFolder String
m_importFormat ImportFormat
m_title String

Public Methods

Method Description
Import ( ) : bool

Collect the parameters and import

ImportData ( ExternalCommandData commandData, ImportFormat importFormat ) : System

Constructor

Private Methods

Method Description
Initialize ( ) : void

Initialize the variables

Method Details

Import() public method

Collect the parameters and import
public Import ( ) : bool
return bool

ImportData() public method

Constructor
public ImportData ( ExternalCommandData commandData, ImportFormat importFormat ) : System
commandData ExternalCommandData Revit command data
importFormat ImportFormat Format to import
return System

Property Details

m_activeDoc protected_oe property

Active document
protected Document m_activeDoc
return Document

m_commandData protected_oe property

Revit command data
protected ExternalCommandData m_commandData
return ExternalCommandData

m_filter protected_oe property

The filter which will be used in file saving dialog
protected String m_filter
return String

m_importFileFullName protected_oe property

File Name or Prefix to be used
protected String m_importFileFullName
return String

m_importFolder protected_oe property

Directory where to import the file
protected String m_importFolder
return String

m_importFormat protected_oe property

The format to be exported
protected ImportFormat m_importFormat
return ImportFormat

m_title protected_oe property

The title of importing dialog
protected String m_title
return String