New features and other improvements to COM automation in Echoview 4.90
Posted on Wednesday, 18 August 2010 | Permalink
We have made a number of improvements to Echoview's COM functionality since the initial release of version 4.90, as detailed below.
Optional Parameters:
Using ExportIntegrationByRegions as an example, this method takes two parameters: string FileName and EvRegionClass, as documented in the help file. The FileName parameter must be specified, but the EvRegionClass parameter can either be used to identify regions that match a region class of interest, or you can specify 'Nothing' to export all regions, and is called an optional parameter. Specifying 'Nothing' works in VBScript but the equivalents do not work in MATLAB, Python, R and potentially some other programming languages. To deal with this difficulty we have added new methods without this optional parameter for situations when you wish to export all regions or region classes.
So in addition to ExportIntegrationByRegions, we have now added the new method ExportIntegrationByRegionsAll, which takes only FileName as a parameter. We have added similarly-designed new methods for all other commands that have optional parameters. The complete list of new methods is:
- ExportIntegrationByRegionsAll (string FileName)
- ExportIntegrationByCellsAll (string FileName)
- ExportIntegrationByRegionsByCellsAll (string FileName)
- ExportSingleTargetsByRegionsAll (string FileName)
- ExportSingleTargetsByCellsAll (string FileName)
- ExportSingleTargetsByRegionsByCellsAll (string FileName)
- ExportFrequencyDistributionByRegionsAll (string FileName)
- ExportFrequencyDistributionByCellsAll(string FileName)
- ExportFrequencyDistributionByRegionsByCellsAll (string FileName)
- ExportFishTracksByRegionsAll (string FileName)
- ExportFishTracksByCellsAll (string FileName)
These new methods will be added to our documentation soon.
New features:
We have also added the following new features to COM:
- New method ExportFrequencyDistributionBySingleRegion
- New method ExportIntegrationBySingleRegionByCells
- The method CreateCurtain now has an optional ping sampling factor parameter
Bug fixes:
The following COM features had problems, but have been fixed in Echoview since the initial release of version 4.90.44. We recommend updating to the latest version if you use COM scripting.
- Removing data files from a fileset
- Exporting 3D objects
- Creating line-relative regions
- Exporting multibeam variable data to MATLAB format
- Exporting an integration by region by cell for a single region
- Exporting data for a single region
- Detecting a surface from a line with an intensity source specified
- The MaximumHorizontalLink property in SchoolsDetection2D
To download the latest version of Echoview 4.90 containing the above changes, click here. And as always, if you have any questions about COM scripting or any other aspect of Echoview then please don't hesitate to contact Echoview Support!




