CMeasureRegions:Attach CMeasureRegions:new

CMeasureRegions:delete


The delete method deletes a CMeasureRegions object and sets it to nil. The Region Measurement toolbar opened in the image window is unaffected by deleting the CMeasureRegions object in the script. Call delete when you are finished using the object. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CMeasureRegions:delete()

bullet.gif    In place of CMeasureRegions, use the actual name of the object being deleted.

Example

R = new_measureregions()

-- create a new instance of of the CMeasureRegions class.

  ...

-- do something with the CMeasureRegions.

R:delete()

-- delete the object and its associated memory.

Related Topics

CMeasureRegions class, new, new_measureregions


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.