You can create a parent/child hierarchy and then spin the parent:
Code:
import viz
import vizact
viz.go()
viz.addChild('dojo.osgb')
group = viz.addGroup(pos=[0,2,5])
ball = viz.addChild('beachball.osgb',pos=[2,0,0])
ball.setParent(group)
spin = vizact.spin(0,1,0,45)
group.runAction(spin)