num#
- DbNodes.num(selected=False)#
Return the number of nodes, either selected or all.
- Parameters:
- selectedbool,
optional
Return either the number of selected nodes of the total number of nodes.
- selectedbool,
- Returns:
int
Number of nodes.
- Return type:
Examples
Get the number of selected nodes.
>>> nodes = mapdl.db.nodes >>> nodes.num(selected=True) 425