<node3d:onthefly>.getVertexCount
Return the vertex count
| <node3d:onthefly>.getVertexCount() | |
Remarks
This command will return the current number of vertices in the On-The-Fly object.
Return Value
The vertex count
Example
viz.startLayer(viz.LINES)
viz.vertex(0,0,0)
viz.vertex(0,1,0)
lines = viz.endLayer()
#This will print '2'
print lines.getVertexCount()