mdlIObject InsertRecord

Deletes one or multiple table entries.

Syntax

mdlIObject_handle InsertRecord idx

Application

MotionView Tcl Modify

Description

This command deletes one or multiple table entries. The table index gets updated once a particular table is inserted.

Inputs

idx
The index of the table to be deleted.

Example

To insert a table at a known index:
hwi OpenStack
hwi GetSessionHandle mySessionName 
mySessionName GetProjectHandle myProjectName 
set activePageNum [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $activePageNum
set activeWinNum [myPageName GetActiveWindow]
myPageName GetWindowHandle myWindowName $activeWinNum
myWindowName GetClientHandle myClientName 
myClientName GetModelHandle myModelName 
myModelName GetChildHandle tab table_event
tab GetChildHandle hand tbl
hand InsertRecord 2;
myModelName Evaluate
hand ReleaseHandle
tab ReleaseHandle
myModelName ReleaseHandle
myClientName ReleaseHandle
myWindowName ReleaseHandle
myPageName ReleaseHandle
myProjectName ReleaseHandle
mySessionName ReleaseHandle
hwi CloseStack

Errors

Returns 0 if successful, otherwise an error code.