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

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

Protected Properties

Property Type Description
m_activeDoc Document
m_activeDocName String
m_activeViewName String
m_commandData ExternalCommandData
m_exportFileName String
m_exportFolder String
m_exportFormat ExportFormat
m_filter String
m_is3DView bool
m_title String

Public Methods

Method Description
Export ( ) : bool

Collect the parameters and export

ExportData ( ExternalCommandData commandData, ExportFormat exportFormat ) : System

Constructor

Private Methods

Method Description
Initialize ( ) : void

Initialize the variables

getExtension ( ) : String

Get the extension of the file to export

Method Details

Export() public method

Collect the parameters and export
public Export ( ) : bool
return bool

ExportData() public method

Constructor
public ExportData ( ExternalCommandData commandData, ExportFormat exportFormat ) : System
commandData ExternalCommandData Revit command data
exportFormat ExportFormat Format to export
return System

Property Details

m_activeDoc protected_oe property

Active document
protected Document m_activeDoc
return Document

m_activeDocName protected_oe property

ActiveDocument Name
protected String m_activeDocName
return String

m_activeViewName protected_oe property

ActiveView Name
protected String m_activeViewName
return String

m_commandData protected_oe property

Revit command data
protected ExternalCommandData m_commandData
return ExternalCommandData

m_exportFileName protected_oe property

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

m_exportFolder protected_oe property

Directory to store the exported file
protected String m_exportFolder
return String

m_exportFormat protected_oe property

The format to be exported
protected ExportFormat m_exportFormat
return ExportFormat

m_filter protected_oe property

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

m_is3DView protected_oe property

Whether current view is a 3D view
protected bool m_is3DView
return bool

m_title protected_oe property

The title of exporting dialog
protected String m_title
return String