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.
CMeasureRegions:delete() In place of CMeasureRegions, use the actual name of the object being deleted. |
|
-- create a new instance of of the CMeasureRegions class. |
|
-- do something with the CMeasureRegions. |
|
-- delete the object and its associated memory. |
CMeasureRegions class, new, new_measureregions
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.