Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
kStatus GdkToolInput_InputDataAt ( GdkToolInput  input,
kSize  id,
GdkDataSource  source,
GvDataMsg *  msg 
)

Retrieve the message associated with input data set referenced by the specified index.

Parameters
inputInput item.
idInput id starting from 0; note that id 0 is reserved for the primary data inputs (see GDK_DATA_PRIMARY_INPUT_INDEX). Secondary data inputs have id >= GDK_DATA_SECONDARY_INPUT_START_INDEX. It is NOT an index into the internal data structure. This argument is often referred to as an index which is misleading.
sourceSource of the data. For scan data inputs (profiles and surfaces) and non-scan data inputs (measurements and features), it has to be one of the following:
msgPointer variable to store the associated message found.
Returns
Operation status.