Ets_Nt_Model_Showcase_Add()

摘要

创建一个 showcase 并将其添加到网络模型的列表中。

语法

Ets_Nt_Model_Showcase_Add (mdl_hndl, showcase_name, file_name)
参数 类型 说明
mdl_hndl EtsT_Model_Handle 目标模型。
showcase_name const char * 指向所创建 showcase 名称的指针。
file_name const char * 指向选择集(.selset)文件名称的指针,该文件用于为新 showcase 填充精选对象和配置设置。若为 PRGC_NIL,新 showcase 将为空。

返回类型

EtsT_Showcase_Handle

已添加的 showcase;若 mdl_hndl 无效则返回 PRGC_NIL。

头文件

ets_api_nt.h

详情

如果该网络已经存在名为 showcase_name 的 showcase,此函数会尝试找到一个唯一名称并用它来创建 showcase。

file_name 指定的选择文件可以从现有 showcase 创建:在 Network Showcase 弹出菜单中选择 Export Featured Set,或者用文本编辑器手动创建。

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