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

Base data class which stores the basic information for export
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Protected Properties

Свойство 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

Méthodes publiques

Méthode Description
Export ( ) : bool

Collect the parameters and export

ExportData ( ExternalCommandData commandData, ExportFormat exportFormat ) : System

Constructor

Private Methods

Méthode Description
Initialize ( ) : void

Initialize the variables

getExtension ( ) : String

Get the extension of the file to export

Method Details

Export() public méthode

Collect the parameters and export
public Export ( ) : bool
Résultat bool

ExportData() public méthode

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

Property Details

m_activeDoc protected_oe property

Active document
protected Document m_activeDoc
Résultat Document

m_activeDocName protected_oe property

ActiveDocument Name
protected String m_activeDocName
Résultat String

m_activeViewName protected_oe property

ActiveView Name
protected String m_activeViewName
Résultat String

m_commandData protected_oe property

Revit command data
protected ExternalCommandData m_commandData
Résultat ExternalCommandData

m_exportFileName protected_oe property

File Name or Prefix to be used
protected String m_exportFileName
Résultat String

m_exportFolder protected_oe property

Directory to store the exported file
protected String m_exportFolder
Résultat String

m_exportFormat protected_oe property

The format to be exported
protected ExportFormat m_exportFormat
Résultat ExportFormat

m_filter protected_oe property

The filter which will be used in file saving dialog
protected String m_filter
Résultat String

m_is3DView protected_oe property

Whether current view is a 3D view
protected bool m_is3DView
Résultat bool

m_title protected_oe property

The title of exporting dialog
protected String m_title
Résultat String