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.
Remove all items from list.
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.
Reverse EntityList, including entity start end coordinates.
EntityList.sort
(*[, key, reverse])Sort the list in ascending order and return None.
Attributes
Get points of shape/region from Entity list.