SOP world xform

   2103   2   0
User Avatar
Member
538 posts
Joined: 12月 2006
Offline
Hi. I want to save SOP geometry via python but with world transformation. Instead of getting transformation of all parents in the loop maybe it is more elegant way to do that?
It is also ptransform vex function. Any hscript expression (python function) equivalent?
Edited by Alexey Vanzhula - 2016年6月12日 12:18:41
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
1390 posts
Joined: 7月 2005
Offline
I guess semi-manual
myGeometry.sopNode().parent().worldTransform()
will do?
User Avatar
Member
538 posts
Joined: 12月 2006
Offline
Thanx! I forgot it)
https://gumroad.com/alexeyvanzhula [gumroad.com]
  • Quick Links