CMeasureAngles:delete


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

CMeasureAngles:delete()

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

Example

A = new_measureangles()

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

  ...

-- do something with the CMeasureAngles.

A:delete()

-- delete the object and its associated memory.

Related Topics

CMeasureAngles class, new, new_measureangles


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