Evaluate value an APEX portid represents

   829   1   2
User Avatar
Member
24 posts
Joined: Aug. 2017
Offline
I'm looking to do something like this:

# this would reference a TransformObject
myNode = graph.findNode('%tag(fk)')

xformValue : Matrix4 = convert( myNode.xform_out )

Basically, looking to merge the worlds of manipulating objects directly and indirectly through the apexscript "meta" apis ( generic nodes and ports vs. type specific values ( TransformObject and Matrix4 values ).
User Avatar
Member
8080 posts
Joined: July 2005
Offline
I'm not sure what's the question? The TransformObject's xform output is already a Matrix4 so I don't think you need the convert() in the first place. So I'd expect that you can omit that. But otherwise, everything looks valid?
  • Quick Links