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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com