Ets_Obj_List_File_Save()
Abstract
Saves the names of a set of objects to a selection set tfile.
Syntax
Ets_Obj_List_File_Save (obj_lptr, tfile_name)
| Argument | Type | Description |
|---|---|---|
obj_lptr |
EtsT_Obj_List * |
List of objects to save, or NULL to save the set of selected objects from the current scenario. |
tfile_name |
const char * |
Name to use for the selection set tfile (base name with no file extension). |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the file is saved; EtsC_Compcode_Failure otherwise.
Header
ets_api_obj.h
Details
This function saves the names of a set of objects to a file named tfile_name. The file is saved in your current model directory with a file extension of .selset. If a file with this name already exists, it will be overwritten in the same model directory. The list of objects to be saved can be either a custom list created and owned by the caller or the set of selected objects in the current scenario.