leCreateMeasurement
leCreateMeasurement(
d_cellViewId
l_points
[ g_saveRulers ]
[ t_rulerDisplayType ]
)
=> d_rulerID / nil
Description
Creates a measurement in cellview d_cellViewId with the coordinates listed in l_points.
Arguments
|
d_cellViewId
|
The database ID of the cellview containing the measurement.
|
|
l_points
|
List of coordinates entered to create the measurement.
|
|
g_saveRulers
|
Specifies whether the measurement is savable or not. The default value is t. Valid Values: t or nil
|
|
t_rulerDisplayType
|
|
|
Specifies the display type of the measurement. The default value is Ruler. Valid Values: Ruler, Distance, or Both.
|
Value Returned
|
d_rulerID
|
The database ID of the measurement.
|
|
nil
|
The measurement is not created.
|
Example
when(window = hiGetCurrentWindow()
when(cellView = geGetEditCellView(window)
leCreateMeasurement(cellView list('(0 10) '(10 10)))
)
)
Return to top