SEDRIS Reference Manual
APPENDIX B - Transmittal Access Level 1 API
Functions
SE ModelNameFromGMI
extern SE_Status_Code
SE_ModelNameFromGMI
(
SE_Object  object_in,1
SE_Store  store_in,2
const SE_String  **result_out_ptr3
);

Definition

Given a <Geometry Model Instance>, retrieves the name of the <Model> that contains the <Geometry Model> being instanced.


Returns

SE_STATCODE_SUCCESS and the output parameters are set appropriately, if valid parameters were passed in and all operations succeeded.
SE_STATCODE_UNRESOLVED_INPUT_OBJECT and no changes are made if object_in is unresolved.
SE_STATCODE_NO_OBJECT and no changes are made if
  1. object_in isn't associated to a <Geometry Model> instance, or
  2. the <Geometry Model> instance isn't a component of a <Model> instance.
SE_STATCODE_UNRESOLVED_OUTPUT_OBJECT and no changes are made if any unresolved intermediate object is encountered that cannot be resolved.
SE_STATCODE_C_STORE_INVALID set if store_in is not a handle to a valid SE_Store.
SE_STATCODE_INACTIONABLE_FAILURE and no changes are made if the fields of the <Model> cannot be retrieved.

Parameters Notes

1 <Geometry Model Instance> whose <Model> we're identifying

2 store to manage the memory being retrieved

3 pointer to a handle to the name being retrieved


Prev: SE_ModelNameFromFMI. Next: SE_PrintDesiredImageParameters. Up:Index.