Ets_Pj_Current_Scenario_Component_Export()

Note: Requires OPNET Development Kit

Abstract

Writes the specified output file using the current value of the corresponding component of current scenario.

Syntax

Ets_Pj_Current_Scenario_Component_Export (file_type, export_filename)
Argument Type Description
file_type EtsT_Pj_Scenario_Component_Type Type constant specifying which component to export (one of the values in Table 36 Project Package Symbolic Constants).
export_filename const char * Base file name of the output file.

Return Type

void

No return value.

ets_api_pj.h

Details

The current, in-memory state of the component of the current scenario in the currently active project is written to the new file without changing the saved/unsaved state of the project. The file extension appropriate for the output file type is appended onto the base output file name. If the specified file does not already exist in active model directories, the new file is placed in the working (first) model directory. If the file does already exist, it is overwritten in whichever directory it currently belongs to. There is no warning if the file is overwritten, so the caller should check beforehand and provide whatever user-interface is appropriate.

The file name argument must be a base file name with no directory path or extension.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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