Adams Basic Package > Adams View > View Command Language > interface > interface object_table write

interface object_table write

Allows you to write the contents of a object_table field to a file.
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 contents of a object_table can be directly written to a excel or tab delimited text file directly by using this command.

Format:

 
interface object_table write
object_table_name =
A Exisitng GI_otable
file_name =
String

Example:

 
interface object_table write &
object_table_name =
.gui.obj.objt &
file_name =
c:/objt_1.xls

Description:

 
Parameter
Value Type
Description
object_table _name
An Existing GI_otable
Specifies the name of the object_table contents of which are to be written to a file
file_name
String
Specifies the remote file name to be accessed

Extended Definition:

1. ‘File_name’ specifies the name of the file that is to be read, written, or executed. The proper extension is the default but can be overridden by simply supplying a different extension. You do not need to enclose the file name in quotes if it only contains alpha-numeric characters and starts with a letter. If you want to include other characters, such as a '.' for an extension or '/' or '[]' for directory paths, you must enclose the name in quotes.