interface object_table copy_object
Allows you to copy an existing object in a object_table
The 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 objects in a object_table can be copied using this command.
Format:
interface object_table copy_object |
|---|
object_table_name = | a exisitng GI_otable |
use_row_selected = | true_only |
row_index = | integer |
new_object_name = | string |
Example:
interface object_table copy_object & |
|---|
object_table_name = | .gui.obj.objt & |
row_index = | 2 & |
new_object_name = | "new_object" |
Description:
Parameter | Value Type | Description |
|---|
object_table _name | An Existing GI_otable | Specifies the name of the object_table from which an object is to be copied |
use_row_selected | True_only | Specifies the row of the object to be copied |
row_index | Integer | Specifies the index of the row to be copied |
new_object_name | String | Specifies a new name for the copied object |
Extended Definition:
‘Row index’ specifies the row position of each of the N entries in the VALUES parameter for a SPARSE MATRIX. Therefore, for each non-zero value in the SPARSE MATRIX each entry for this parameter defines to the position in the matrix of the corresponding entry in the VALUES parameter. For example, the third value entered for the ROW_INDEX parameter defines what matrix row the third value entered for the VALUES parameter is located on.
The object copied can be accessed through the Adams view window, Similarly, the object copied can be displayed in the object_table by modifying the ‘object_table’ and adding the copied object name to the parameter ‘displayed entities’ or selecting to ‘display existing all’.