interface object_table set cell
Allows you to alter the contents of single or multiple cells in a object tableThe object_table is used to list one or more types of objects in a modeling environment. For example, a type of entities like link, center_marker or properties like mass, inertia can be selectively listed and displayed using this command. The objects listed can be edited, or copied as required.
The properties of a single of multiple cells can be edited by using this command.
Format:
interface object_table set cell |
|---|
object_table_name = | A Exisitng GI_otable |
use_cell_selected= | True_only |
row_range= | Integer |
use_row_selected = | True_only |
object_rows = | An Existing Entity |
use_column_selected= | True_only |
column_range= | Integer |
field_name_of_column = | String |
string = | String |
action = | Col_action |
Example:
interface object_table set cell & |
|---|
object_table_name = | .gui.obj.objt & |
row_range = | 4,5 & |
column_range = | 1,1 & |
strings = | stationary & |
action = | replace |
Description:
Parameter | Value Type | Description |
|---|
object_table _name | An Existing GI_otable | Specifies the name of the object_table in which the cells are to be altered |
use_cell_selected | True_only | Specifies the cell to be altered directly |
row_range | Integer | Specifies the range of rows to be altered |
use_row_selected | True_only | Specifies the row in which cells are altered |
object_rows | An Existing Entity | Specifies the row to be altered by entering the object name for the row |
use_column_selected | True_only | Specifies the column in which the cells are altered |
column_range | Integer | Specifies the range of columns in which the cells are to be altered |
field_name_of_column | String | Specifies the column in which the cells are altered by entering the field name |
string | String | Specifies the new contents of the cell |
action | Col_action | Specifies the mode of insertion of new contents |
Extended Definition:
1. The cells to be altered are initially addressed by the ‘object_table name’. Next, the exact location of the cells can be specified by various choices like, ‘use_cell_selected’, ‘row_range’, ‘use_row_selected’, ‘object rows’, ‘use_column_selected’, ‘column range’, and ‘field_name_of_ columns’.
2. The single of multiple cells to be altered can be directly selected with the choice ‘use_cell_selected’.
3. All the cells in a column or a row can be directly selected by choosing the ‘use_column_selected’ and ‘use_row_selected’ parameters.
4. Specifying ‘row range’ and ‘column range’ allows to modify the contents of multiple cells. For example, row range = 1,2 and column range = 3 will alter the cells (1,3) and (2,3).
5. Alternatively, the row or a column can be selected by specifying the name of the ‘object name’ or the ‘field name for the column’. For example, to rename ‘i_marker’ of the ‘part_3’, the ‘object_rows’ = part_3 and the ‘field_name_for_column’ = i_marker.
6. The parameter ‘string’ specifies the new contents of the respective cells. The mode of insertion of the new contents depends on the choice ‘append’, ‘prefix’ or ‘replace’ denoted by the parameter ‘action’