CreateEntityList

Creates a list of entities containing objects or faces (not both).

Warning: As of the Ansys Electronics Desktop25r2 release, this command has been deprecated. It will be removed in a future release. Please use the CreateNamedSelection command instead.
UI Access Modeler > Named Selection > Create > [Object / Face] Selection
Parameters
Name Type Description

<Parameters>

Array

Structured array. 

Array("NAME:GeometryEntityListParameters",

"EntityType:=" , <string "Object" or "Face">,

"EntityList:=" , <string of object names or IDs>)

See GetObjectIDByName for returning object IDs.

<AttributesArray> Array Structured array. See: AttributesArray. CreateEntityList takes only the "Name" parameter.
Return Value None.

Python Syntax

CreateEntityList(<Parameters>,<AttributesArray>)

Python Example

oEditor.CreateEntityList(

["NAME:GeometryEntityListParameters",

"EntityType:=", "Object",

"EntityList:=", "Bondwire1,Bondwire2"

],

["NAME:Attributes",

"Name:=", "Objectlist1"

])