num#
- DbElems.num(selected=False)#
Number of elements.
- Parameters:
- selectedbool,
optional Return either the number of selected elements of the total number of elements.
- selectedbool,
- Returns:
intNumber of elements. Set
selectedtoTrueto include selection status.
Examples
Get the number of selected elements.
>>> elems = mapdl.db.elems >>> elems.num(selected=True) 425