Purpose
Use Retrieve Structures to retrieve one or more structures from the specified open archive file and place them into the structure store.
If any of the specified structures do not exist in the specified archive file and the specified structure identifier does not exist in the structure store, then the graPHIGS API issues a warning and creates an empty structure. If any of the specified structures do not exist in the specified archive file and the specified structure identifier does exist in the structure store and the conflict resolution flag is set to UPDATE, then the graPHIGS API issues a warning and empties the structure.
If any of the specified structures in the structure network already exists in the structure store, then the graPHIGS API resolves the conflict according to the value of the archive conflict resolution flag specified by the Set Conflict Resolution subroutine.
When you retrieve a structure that is an open structure, the structure is closed, emptied, retrieved, and reopened and the graPHIGS API maintains all references to the structure. The result is as though you had issued the following:
Language Bindings
pret_structs (archive_id, struct_ids) |
PREST (afid, n, lstrid) |
Errors
Related Subroutines