Description

Creates a new McSpatialCalib instance and adds it to the McSpatialCalibs collection.

Return Type

A McSpatialCalib object.  

McSpatialCalib* the new calibration.

Syntax

object.Add (Name)

The Add Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McSpatialCalibs.
NameRequired. A String value.

The name given to both the McSpatialCalib.Name property. If an empty name is supplied, the Name is “calibration0”. See McSpatialCalib.Name for more details.

Remarks

An McSpatialCalib instance is created with the specified name. Other properties are initialized to default values. The new calibration is also added to the SpatialCalibs collection.

“For each” enumerations will only find McSpatialCalib instances which are part of the collection, and there is no need to keep an AddRef on the interface instance. McSpatialCalibs.Item will return only collection members for numeric (index value) arguments, but it will find any calibration with a matching Name for string arguments, whether the calibration is part of the calibrations collection or not.

Exceptions

Resource limits.

Notes

The new calibration is also added to the SpatialCalibs collection.