• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > HFSS > HFSS help > Named Arrays with Nested Named Arrays

HFSS15: Named Arrays with Nested Named Arrays

录入:edatop.com     点击:

• Split the “NAME:name” field into a key value pair

• Translate array key value pair to a dictionary key value pair.

• Create a new key with the name of the nested array and keep the nested array (as an array or as a dictionary) as its value. If the nested array is being retained as an array, the”NAME:name field should be retained in the array. If the nested array is being converted to a dictionary, the name is optional: if also retained in the nested array, it must match the outer key.

[ “NAME:name”,

“key1:=” , 1,

“key2:=” , 2,

[“NAME:name2”, “R:=”, 255]

]

Sample Script 7: Named array with nested named array in array syntax

The above named array with a nested named array (after conversion to IronPython as named array) can be converted to a dictionary as well. The dictionary can take any of the following forms

{ “NAME” : “name”,

“key1” : 1,

“key2” : 2,

“name2” : [“NAME:name2”, “R:=”, 255]

}

Sample Script 8: Named array with nested named array as mixed dictionary + array

 

{ “NAME” : “name”,

“key1” : 1,

“key2” : 2,

“name2” : {“R” : 255}

}

Sample Script 9: Named array with nested named array in all dictionary syntax

 

{ “NAME” : “name”,

“key1” : 1,

“key2” : 2,

“name2” : {

“NAME” : “name2”,

“R” : 255

}

}

Sample Script 10: Nested named array with optional "NAME:" field

HFSS 学习培训课程套装,专家讲解,视频教学,帮助您全面系统地学习掌握HFSS

上一篇:Moving the Cursor in 3D Space
下一篇:Moving the Cursor In Plane

HFSS视频培训课程推荐详情>>
HFSS教程推荐

  网站地图