|
EvApplication > EvFilesCollection > EvFile View the Echoview COM object hierarchy and the Echoview summary of COM objects. |
The EvFile object accesses information about and performs actions on an EV file.
The EvApplication.EvFiles[] property lists all the EV files that are open in Echoview and is an EvFilesCollection.
The following EvFile methods and properties are detailed below:
|
Properties: Collections, Classes and Members |
|
|
Close |
FileName |
EvFile offers the following methods and properties:
|
Description |
|
|
Close |
boolean Close() SummaryClose the EvFile. ParametersNone. ReturnThe status of the operation; true for success, false for failure.
See also: EvApp.CloseFile. |
|
Save |
boolean Save() SummarySave any changes made to the EvFile. ParametersNone. ReturnThe status of the operation; true for success, false for failure. The save is attempted regardless of whether or not the EV file is changed. This will always fail if the EV file has just been created. |
|
SaveAs |
boolean SaveAs(string FileName) SummarySave the EvFile to a new location. Parameters
ReturnThe status of the operation; true for success, false for failure. |
|
PreReadDataFiles |
PreReadDataFiles SummaryPre-reads an EV file. This is equivalent to using the Echogram keyboard shortcut P. ParametersThe EV file can be specified by an EvApplication method or similar. Example
|
|
boolean Import(string FileName) SummaryImport the specified file as though using the Import item in the File menu. If the file cannot be imported, a message is sent to the scripting log file. See Importing in Echoview for information on the supported file formats for lines, regions, 3D objects etc. Parameters
ReturnTrue when the import is successful. False when the import fails. Example
Dim EvApp: Set EvApp = CreateObject("EchoviewCom.EvApplication")
Dim EvFile: Set EvFile = EvApp.OpenFile("c:\Test files\svgain.EV")
If EvFile Is Nothing Then
MsgBox "Failed to open EV file"
Else
EvFile.Import("c:\Test files\Copy of Line1.evl")
End If
|
|
|
boolean IsLiveViewing(string EVFileName) SummaryChecks whether the specified EV file is being used for live viewing. Parameters
ReturnTrue if the EV file is being used for live viewing, false otherwise. Example
|
|
Description |
|
|
FileName |
(read-only) string FileName SummaryName of the file. |
|
Filesets |
(read-only) Filesets[] SummaryCollection of filesets in the file. |
|
Variables |
(read-only) Variables[] SummaryCollection of variables in the file. |
|
Regions |
(read-only) Regions[] SummaryCollection of regions in the file. Note: When two regions have the same name, the first one found is used. |
|
RegionClasses |
(read-only) RegionClasses[] SummaryCollection of regions classes in the file. |
|
Lines |
(read-only) Lines[] SummaryCollection of lines in the file. |
|
Scenes |
(read-only) Scenes[] SummaryCollection of scenes in the file. |
|
Objects3D |
(read-only) Objects3D[] SummaryCollection of 3D objects in the file. |
|
Properties |
(read-only) Properties SummaryThe EV file properties in the file, accessed through the EvFileProperties object. Supported EV file properties include selected settings on the:
|