Adams Basic Package > Adams View > View Command Language > file > file testdata read splines

file testdata read splines

Format:

 
file testdata read splines
model_name =
a new or existing model
use_file_column_labels =
boolean
units =
string
independent_column_index =
integer
file_name =
string

Example:

 
file testdata read splines &
model_name =
model_1 &
use_file_column_labels =
yes &
independent_column_index =
3

Description:

 
Parameter
Value Type
Description
model_name
A New Or Existing Model
Specifies an existing model
use_file_column_labels
Boolean
Specifies how to define the names of the splines
units
String
Allows you to specify the type of units to be used for this object.
independent_column_index
Integer
Specifies the column number to indicate which column in the file to use for the independent data (X parameter) in the Adams spline.
file_name
String
Specifies the name of the file that is to be read, written, or executed

Extended Definition:

1. You may identify a model by typing its name or by picking it from the screen.
If the model is not visible on the screen, you must type the name.
You may also find it convenient to type the name even if the model is displayed.
You must separate multiple model names by commas.
If the model is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple model picks by commas.
2. If there are textual column headers in the file, select yes. Adams uses the column header text as the names of each spline.Values are: yes and no. The default is no.
3. Since this object can be used in a variety of contexts, Adams View cannot determine what type of units it should have. By telling Adams View what the unit type for this object is, Adams View can preform the proper conversions on the values you specify.
4. The columns are numbered sequentially from left to right starting with 1, 2, 3, and so on.
If you specify an independent data index for splines, Adams does not create a spline for the column of the file with that index. Instead, that column of data is used as the x data for all splines. If you do not include an independent column index, then the series of numbers 1, 2, 3, and so on is used for the x data of all splines.
5. 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.