file binary read
Allows you to read an Adams View binary file.
When you read an Adams View binary file, the contents of that file replace the current Adams View database. Any model that exists at the time of the read, will be over-written by the database in the file.
Format:
file binary read |
|---|
file_name = | string |
entity_name = | an existing model |
alert = | boolean |
Example:
file binary read & |
|---|
file_name = | "c:\mydir\desktop\model_1.bin" & |
entity_name = | .model_1 & |
alert = | yes |
Description:
Parameter | Value Type | Description |
|---|
file_name | String | Specifies the name of the file that is to be read, written, or executed |
entity_name | an existing entity | Specifies an existing entity to be read from binary file |
alert | Boolean | Alerts the user if data has been modified |
Extended Definition:
1. 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.
2. You can specify entities to be read from binary file using the entity_name parameter. If entity_name parameter is used with this command, Adams will read only the specified entities and not the units information in the binary (which may be different from the session units). In this case default session units will be taken into account and all conversion of the attributes of imported entities will be carried out correctly to the current session units.
3. Specifies whether or not to alert the user before reading the binary file if there is data that has been modified since the last save operation. The alert box provides the user with the options to continue with the read or to cancel the read.