read_container_file¶
Syntax¶
Parameters¶
filename- The name of comma-separated file, surrounded by quotes. The
filenamemay include the path to the file in addition to the name. place-type- The place type of the container.
Description¶
This action reads and internally stores a list of places and their containers from a file. Reads a csv file that contains lines with the format:
These two columns may occur in any order; the type of column is determined by the header line.
Any other columns in the file are ignored.
Both the place and the container must be previously defined in the model, for example, by a call to read_place_file(). Any record that contains an unknown PLACE-ID or any unknown CONTAINER-ID is ignored.
An error occurs if the file is not found.