To add a cylinder, the following data have to be mentionned:
Add a cylinder in the document:
cyl = doc.addCylinder(base, direction, radius, height)
Get the values of a cylinder:
ver = cyl.getBase()
vec = cyl.getDirection()
r = cyl.getRadius()
h = cyl.getHeigth()
Access to the cylinders of the document:
nc = doc.countCylinder()
cylk = doc.getCylinder(ind)
GUI command: Cylinder