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,或者用文本编辑器手动创建。