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:
int
Number of elements. Set
selected
toTrue
to include selection status.
Examples
Get the number of selected elements.
>>> elems = mapdl.db.elems >>> elems.num(selected=True) 425