View Single Post
  #3  
Old 06-13-2014, 04:13 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I'm not sure I exactly understand what you are trying to accomplish, but you can use the optional node parameter of <node>.setParent to parent an object to the sub-transform node:
Code:
# Get transform handle from model
xform = model.getTransform('name')

# Parent child under transform of model
child.setParent(model, node='name')
Reply With Quote