*SetFileName()
Sets the value of the FileName object.
Syntax
*SetFileName(file_name, value, [value2], [value3], ...)
Arguments
- file_name
- The variable name of an existing FileName object.
- value
- The value of the FileName object.
- value2, value3, ...
- Values of the FileName object for multiple file collector.
Example
*SetFileName(ds_tire_dat.roadfile, "gen_road1.rdf",
"gen_road2.rdf")
*SetFileName(ds_tire_dat.tirefile1, "tire.tpf")
*SetReal(ds_tire_dat.rollrad1, 320.00)
*SetReal(ds_tire_dat.rollrad2, 320.00)
*SetFileName(ds_tire_dat.tirefile2, "tire.tpf")
*DefineDataset(dsdef_tire_dat)
*FileName(tirefile1, "Front tire file", *.tpf, SINGLE)
*Real(rollrad1, "Front rolling radius")
*FileName(tirefile2, "Rear tire file", *.tpf, SINGLE)
*Real(rollrad2, "Rear rolling radius")
*FileName(roadfile, "Road file", MULTI)
*EndDefine()
Context