EntityList#

class ansys.motorcad.core.geometry.EntityList(iterable=(), /)#

Generic class for list of Entities.

Methods

EntityList.append(object, /)

Append object to the end of the list.

EntityList.clear(/)

Remove all items from list.

EntityList.copy(/)

Return a shallow copy of the list.

EntityList.count(value, /)

Return number of occurrences of value.

EntityList.extend(iterable, /)

Extend list by appending elements from the iterable.

EntityList.index(value[, start, stop])

Return first index of value.

EntityList.insert(index, object, /)

Insert object before index.

EntityList.pop([index])

Remove and return item at index (default last).

EntityList.remove(value, /)

Remove first occurrence of value.

EntityList.reverse()

Reverse EntityList, including entity start end coordinates.

EntityList.sort(*[, key, reverse])

Sort the list in ascending order and return None.

Attributes

EntityList.points

Get points of shape/region from Entity list.