VtDrawnListGetItem


Get record(s) from a DrawnList

Syntax

VtDrawnListGetItem drawnlist_widgetName [options]

Description

Gets the records from the list. Returns a two dimensional list of the items in the DrawnList.

Options

-all (NA)
Gets the entire list.

-field column matchStr (NA)
Returns all items in which item number column matches the string matchStr. For example, if your list contains:
{0 1 "Apple"}
{0 1 "Orange"}  
{0 1 "Kumquat"}

specifying -field 2 "Kumquat" matches the last item in the list.

-position integer (NA)
Gets the item at position integer. The base position is 1. To indicate the last item on the list, use 0.

-positionList integer_list (NA)
Gets the items in a DrawnList at positions specified by the list integer_list. VtDrawnListGetItem returns a list of positions when used with this option.