Returns the number of groups in the document.
rhinoscriptsyntax.GroupCount()
rhinoscript.group.GroupCount()
None.
Number |
The number of groups if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
numgroups = rs.GroupCount()
print "Group count:", numgroups
AddGroup