Arbortext Command Language > Repository API > sess_get_graphic_create_info
  
sess_get_graphic_create_info
sess_get_graphic_create_info(sesshdl, asisstart, return_array)
For the session sesshdl, this function builds an array return_array containing the default creation information for a new graphic object. The return_array is an associative array and can be used to build a user interface that shows default values for a new graphic object and allows the user to override those defaults.
The asisstart parameter is the starting node for the new graphics object.
The ACL array return_array will contain the following data:
Array index
Value description
IO_CRE_LOCATION
Default location for new graphics.
IO_CRE_OBJECT_TYPE
Default object type for graphics.
IO_CRE_LABEL
Default version label for graphics.
If sesshdl is invalid, or the operation fails, the function writes error data to $main::ioerr and returns a zero (0). If the operation is successful, the function returns a one (1).