CMeasureLines:Attach CMeasureLines:new

CMeasureLines:delete


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

CMeasureLines:delete()

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

Example

L = new_measurelines()

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

  ...

-- do something with the CMeasureLines.

L:delete()

-- delete the object and its associated memory.

Related Topics

CMeasureLines class, new, new_measurelines


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