Anatomist commands reference: LoadObject


LoadObject

Loads an object from a file on disk
Attribute: Type: Description:
filename string file to read the object from (volume, mesh etc.)
res_pointer int ID of the loaded object
as_cursor int (optional) New in Anatomist 3.0. If this flag is set, the object will not be included in the "regular" objects list, but will be useable as a cursor in 3D views.
options dictionary (optionnel) New in Anatomist 3.0. Additional options to be passes to reading functions.
At the moment, only one option is recognized at anatomist level (but in the future, more options could be interpreted by reading functions for specific objects or formats):
restrict_object_types dictionary Restricts objects types that can be read. Ex:
options { '__syntax__' : 'dictionary', 'Volume' : [ 'S16', 'FLOAT' ] }
hidden int New in Anatomist 3.1. A hidden object does not appear in Anatomist main control window.

Back to commands index