SOP world xform

   1927   2   0
User Avatar
Member
538 posts
Joined: Dec. 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 - June 12, 2016 12:18:41
https://gumroad.com/alexeyvanzhula [gumroad.com]
User Avatar
Member
1390 posts
Joined: July 2005
Offline
I guess semi-manual
myGeometry.sopNode().parent().worldTransform()
will do?
User Avatar
Member
538 posts
Joined: Dec. 2006
Offline
Thanx! I forgot it)
https://gumroad.com/alexeyvanzhula [gumroad.com]
  • Quick Links