Ets_Nt_Import_Model_Convert()

Note: Requires OPNET Development Kit

Abstract

Imports a model into a specified network model.

Syntax

Ets_Nt_Import_Model_Convert (model_ptr, ets_model_hndl, options)
Argument Type Description
model_ptr EtsT_Nt_Import_Model* Import model to be converted.
ets_model_hndl EtsT_Model_Handle Network model to receive the converted model.
options int Flags controlling the conversion process (see Details).

Return Type

EtsT_Obj_List*

List of objects (sites, links, and so on) in the converted model.

ets_nt_obj_import.h

Details

This function converts the import model model_ptr, importing it into the specified network model. If ets_model_hndl is not a network model, the current network model is used.

If a site being imported already exists in the network model, the conversion process overwrites the existing object with the imported one. As a result:

  • Any links attached to the existing site are destroyed. To retain the links, set options to ETSC_NT_IMPORT_MODEL_KEEP_LINKS.
  • Existing attributes and their values are wiped out. You should save any attributes you want to preserve before calling this function and restore them after the import.

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