file binary write

Allows you to writes an Adams View binary database file.
All information stored in the database is written to a binary file. That is, all preprocessing modeling entities, customized menus and panels, view orientations, and postprocessing analyses are written to a binary file.
Binary files do not include current counters for hardcopy file names, nor do they store the current size of the menus.
 
Note:  
There is no restriction on the size of the binary file. While there is no theoretical limit to .bin file size, practically speaking, the size of a .bin file will be limited to the amount of RAM available to the Adams session.

Format:

 
file binary write
file_name =
string
demo_version =
real
alert_if_exists =
boolean

Example:

 
file binary write &
file_name =
"c:\mydir\desktop\model_1.bin" &
alert_if_exists =
yes

Description:

 
Parameter
Value Type
Description
file_name
String
Specifies the name of the file that is to be read, written, or executed.
demo_version
Real
Specifies that the binary file to be written should be for use with the Mechanical Dynamics, Inc. "Adams Demonstration System".
alert_if_exists
Boolean
Specifies whether or not to issue an alert before writing the file, if a file with the same name already exists

Extended Definition:

1. IT IS IMPORTANT TO NOTE that the binary file is not transferable to different machines from different hardware vendors. For example, you cannot read in an Adams View binary file written on a Silicon Graphics workstation, into Adams View on a Digital Equipment Corp. VaxStation. Also some machines from the same hardware vendor write incompatible binary files. An example of this is a binary file written on a SUN 4/x and a binary file written on SUN 3/x. To transfer preprocessing models from Adams View on one hardware vendor’s machine to a different hardware vendor’s machine, you should use the FILE COMMAND WRITE command. The default extension for the binary file is ".bin", but this is not necessary.
2. The proper extension is the default, but you can override it by supplying a different extension.
It is not necessary to enclose the file name in quotes if it only contains alphanumeric 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 file name in quotes.
3. Specifies whether or not to issue an alert before writing the file, if a file with the same name already exists. The alert box provides you with the options to cancel the write, overwrite the existing file, or to back up the existing file, and then perform the write.