PDA

View Full Version : vector group/ parent


jaclyn.bill
06-18-2010, 03:50 AM
Dear users,

I'm trying to group of 7 vertex shapes I have created on the fly so that I can apply exactly the same transformation to all of them simultaneously. When I try to use the parent comands I get the following error..

'VizPrimitive' object has no attribute 'split'

Can parent not be used with vertices? How else can I do this?

Thank you.

Jac

farshizzo
06-18-2010, 09:36 AM
Please post a sample script that recreates this error

jaclyn.bill
06-21-2010, 04:06 AM
thanks, but solved this by just creating a list....



for trieven in (tritwo,trifour,trisix,trieight):
trieven.setAxisAngle(0,0,1,-SPEED/RATE*dist)
trieven.addAction(FadeForever1)
for triodd in (trione,trithree,trifive,triseven):
triodd.setAxisAngle(0,0,1,-SPEED/RATE*dist)
triodd.addAction(FadeForever2)