Description

All members of the Engine.SpatialCalibs collection are removed from the collection.

Return Type

None  

Nothing

Syntax

object.RemoveAll

The RemoveAll Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McSpatialCalibs.

Remarks

Notify clients have an opportunity to prevent the removal of any calibration from the collection (see the Remove method). Furthermore, the calibration will actually be destroyed only when all references to its McSpatialCalib instance have been released.

If all members are allowed to be removed by all notify clients, then the Count property will be zero after this call. To see if all calibrations have been fully released, you can call Engine.McObjects.GetCategoryCount for the “McSpatialCalib” category, with the ParentMcObject set to Engine.McObject(Engine.SpatialCalibrations). This Count will be zero when all calibrations have been finally released.