Returns the number of block definitions in the document.
rhinoscriptsyntax.BlockCount()
rhinoscript.block.BlockCount()
None.
Number |
The number of block definitions in the document. |
import rhinoscriptsyntax as rs
count = rs.BlockCount()
print "There are", count, " blocks."