I am trying to create a frame in python. However although it appears in the graphics window, I cant interact with it in anyway. It also doesnt appear in list of items under the root of the component. This code is directly copied from the help.
from vcScript import * import vcMatrix as mtx app = getApplication() comp = getComponent() #simple demo that clears geometry sets in root node comp.Geometry.clear() gs = comp.Geometry.createGeometrySet(VC_FRAMESET) #create full circle of frames degrees = 360 for i in xrange(degrees): gs.createFrame(mtx.new()) gs.update() for i in xrange(gs.FrameCount): frame = gs.getFrame(i) frame.translateAbs(1000.0, 0.0, 0.0) frame.rotateAbsY(degrees) degrees = degrees - 1 gs.setFrame(i, frame) gs.update() app.render()