COM object EvExporter
EvApplication > EvFileCollection > EvFile > EvExportersCollection > EvExporter
View the COM map and the COM summary. |
The EvExporter object enables you to get information about the exporter and use the exporter. Note, use the EvApplication.Exec method and the command interface exporter properties to script changes for Exporter Properties.
The EvFile.Exporters[] property lists all the exporters in an EV file and is an EvExportersCollection.
EvExporter methods and properties include:
|
Description |
Export(string FileNameAndPath) SummaryExport the CSV output from the exporter to a specified file path. Parameters
ReturnWhether successful. ExampleThe EV file has two preconfigured exporters. Option Explicit ' Start Echoview Dim oEvApp: Set oEvApp = CreateObject("EchoviewCom.EvApplication") ' Open the Exporter sample EV file Dim oEvFile: Set oEvFile = oEvApp.OpenFile ("YourEVfileURL.EV") If oEvFile Is Nothing Then MsgBox "Failed to open EV file" Else Dim vExporterCollection: Set vExporterCollection = oEvFile.Exporters MsgBox "Number of exporters in the EV file: "& vExporterCollection.Count 'Finding the first item in the list Dim vExporteritem : Set vExporteritem = vExporterCollection.Item(0) MsgBox "First exporter name is: "& vExporteritem.Name 'Finding the second exporter by name Dim vSecondExporter : Set vSecondExporter = vExporterCollection.FindByName("Sv integration domain regions") MsgBox "Second exporter name is: "& vSecondExporter.Name 'Delete second exporter vExporterCollection.Delete(vSecondExporter) MsgBox "Deleted second exporter, Number of exporters in the EV file is now: "& vExporterCollection.Count 'Export from the first Exporter 'Export the first ExporterSetings, Export type, and Notes vExporteritem.Export("C:\Data and EV files\AExport\FirstExporter.csv") vExporteritem.ExportSettings("C:\Data and EV files\AExport\FirstExporterSettings.csv") MsgBox "First exporter, Name, Type and notes : "& vExporteritem.Name &" Export type enum is "& vExporteritem.ExportType &" Notes "& vExporteritem.Notes End If MsgBox "Press Enter to end this example script, and close Echoview without saving." See also: EvVariableAcoustic.AddExporter example. |
|
ExportSettings(string FileNameAndPath) SummaryExportSettings outputs a file that contains the exporter's properties as lists of tab-separated values. This is equivalent to the right-click menu item Export, Settings on the Dataflow window. The header row is: ObjectName PropertyName CurrentValue Units MinimumValue MaximumValue ValueOptions DefaultValue Parameters
ReturnWhether successful. ExampleSee Exporter example. |
|
(read-only) ExportType SummaryReturns the EExportType enum for the export type of the exporter. ParametersNone ReturnWhether successful. ExampleSee Exporter example. |
|
string Name SummaryAccess the name of the exporter. Note, the use of Dynamic exporter property and a Dynamic name will lock Name property. ParametersNone ReturnThe return is the name of the exporter. ExampleSee Exporter example. |
|
string Notes SummaryGet or add text from the Notes section of the exporter, as a string of characters. ParametersNone ReturnThe return is a string containing the exporter Notes text. ExampleSee Exporter example. |
See also
Scripting with COM objects
EvExportersCollection
COM object hierarchy