CMeasurePoints:Attach CMeasurePoints:new

CMeasurePoints:delete


The delete method deletes a CMeasurePoints object and sets it to nil. The Point Measurement toolbar opened in the image window is unaffected by deleting the CMeasurePoints 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

CMeasurePoints:delete()

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

Example

P = new_measurepoints()

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

  ...

-- do something with the CMeasurePoints.

P:delete()

-- delete the object and its associated memory.

Related Topics

CMeasurePoints class, new, new_measurepoints


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