|
CMeasureAngles:Attach
The Attach method attaches a
CImageView object to the
CMeasureAngles object. Usually, the
CImageView object is specified when the
CMeasureAngles object is created. Use this method to switch
the target image window without creating a new
CMeasureAngles object. Alternatively, you may need to create
the CMeasureAngles object by passing an
AngleParams table, then attach it to the
CImageView at a later itme.
Syntax
|
bSuccess = CMeasureAngles:Attach( CImageView_obj
)
Where
CImageView_obj is a
CImageView object connected to an image window.
On success,
true is returned.
|
Example
Suppose two image windows exist and are connected
to the script through two CImageView objects, V1 and V2. The
following script directs the CMeasureAngles object to work
with a new
CImageView object.
|
A = new_measureangles( V1 )
|
|
|
...
|
|
|
A:Attach( V2 )
|
|
Related Topics
CMeasureAngles class
new_measureangles
Mira Pro x64 Script User's Guide, v.8.76 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.
|