WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   vector group/ parent (https://forum.worldviz.com/showthread.php?t=2792)

jaclyn.bill 06-18-2010 03:50 AM

vector group/ parent
 
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....

Code:


                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)



All times are GMT -7. The time now is 01:40 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC