Sets the default data type for a file format.


type "string"


There are two ways to use this command. The simple version is to specify a plain string of characters to be used as a default data type, such as "ADAMS Results."

The alternative version enables you to match file names with data types. This is useful when a template reads different results files which have identical formats (like MADYMO). Types are specified in the following manner:
type "//filename/typename"

where filename is the name of a file associated with that data of type typename.

Multiple filenames can be specified as follows:
"//filename/typename//filename/typename//filename/typename . . ."

If typename begins with a "#", then it is assumed to contain only one component, even if the default contains more than one. If typename contains a second pound sign, the string following the second "#" is used as the name of that single component.

It is also possible (though unusual) to use type as the modifier of a read or readln statement, in which case it is the string read, not the file name, which is compared against the string list. The string read from the file is discarded.

The type for individual requests can always be overridden. Also, the data type of explicit time is always "Time".


type "MADYMO Results"
type "//ANGACC/Angular Acceleration"
read type "//1/Displacement//2/Velocity//3/Acceleration//4/Force//5/User Defined"
type "#Scalar#Real"		// A type with a single component