Ets_Nt_Subnet_Grid_Properties_Set()

Abstract

Sets the new value on the specified grid property on the ETS subnet object.

Syntax

Ets_Nt_Subnet_Grid_Properties_Set (subnet_hndl, op_code, …)
Argument Type Description
subnet_hndl EtsT_Obj_Handle Handle of the object of interest.
op_code EtsT_Nt_Grid_Prop_Op Identifies the property to be set and specifies the type of the next value.
… Vartype (must match the property to be set) Value to be set on the property.

Return Type

EtsT_Compcode

EtsC_Compcode_Success if the property exists and the value is valid. EtsC_Compcode_Failure otherwise.

ets_api_nt.h

Details

The subnet must be installed in an ETS model in order for the grid properties to be set.

The op_code specifies which property is to be set. Each property accepts only one type of value. The properties and corresponding value data types are listed below.

Property Data Type of Value
EtsC_Nt_Grid_Division_Automatic boolean
EtsC_Nt_Grid_Division_Op double
EtsC_Nt_Grid_Draw_Style_Op EtsT_Nt_Grid_Draw_Style
EtsC_Nt_Grid_Color_Op EtsT_Nt_Grid_Draw_Color
EtsC_Nt_Grid_Resolution_Op double
EtsC_Nt_Grid_Units_Op EtsT_Nt_Grid_Unit

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