poIMeasure CreateItem

Creates the measure item.

Syntax

poIMeasure_handle CreateItemsave_from_set save_to_set

Application

HyperView Tcl Modify

Description

This command will create the measure item.

Inputs

save_from_set (Optional)
Boolean argument to save the "from" set.
save_to_set (Optional)
Boolean argument to save the "to" set.

Example

hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page page_id
page GetWindowHandle window win_id
window GetClientHandle post
post GetMeasureHandle mindist measure_id
mindist AddMinDistFromSet from_set_id_str
mindist AddMinDistToSet to_set_id_str
mindist CreateItem true true

Errors

Returns 0 if successful, otherwise an error code.