GetElementList
Returns a list of GUIDs of the elements of the given type.
def GetElementList (typeID) -> List (String)
Parameters
- typeID
- [in] Element type ID. See API_ElemTypeID for available element types.
Return Values
This function returns the list of the GUIDs of elements which have the given type.
Remarks
This function is analogous to the ACAPI_Element_GetElemList function of the C++ API.
Example
wallList = GetElementList(API_WallID) print("Number of walls: {}".format(len(wallList)))
Requirements
- Version: Python API 0.1 or Later
- Module: GS