...
Code Block | ||
---|---|---|
| ||
polygonObject = scene.getObject("Torus01")
polygons = polygonObject.getFaces()
scene.message("Number of polygons: "+str(len(polygons))) |
...
Code Block | ||
---|---|---|
| ||
polygonObject = scene.getObject("Torus01")
vertices = polygonObject.getVertices()
scene.message("Number of vertices: "+str(len(vertices))) |
...