Ets_Pj_Scenario_Destroy()

**注意:**需要 OPNET Development Kit

摘要

销毁项目中的单个场景。

语法

Ets_Pj_Scenario_Name_Set (model_hndl, scenario_index)
参数 类型 说明
model_hndl EtsT_Model_Handle 目标项目的句柄。
scenario_index int 要销毁的场景的索引。

返回类型

EtsT_CompCode

场景销毁成功时返回 EtsC_Compcode_Success,否则返回 EtsC_Compcode_Failure。

头文件

ets_api_pj.h

详情

此函数删除给定的场景,但网络模型仍然保留。如果某场景是项目中唯一的场景,则不能将其销毁。

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