On 15/01/2014 at 17:53, xxxxxxxx wrote:
So I have a track of an object using:
object = doc.GetActiveObject()
for track in object.GetCTracks() :
#do something
What I would like to do is get the user data the track belongs to.
for example Position Y the track is:
<c4d.CTrack object called 'Position . Y/Track' with ID 5350 at 0x00000026E9C7D190>
What I want to get:
Cube[c4d.ID_BASEOBJECT_REL_POSITION,c4d.VECTOR_Y]
How do I get from CTrack to c4d.VECTOR_Y?
Overall what I am trying to do is create a port in an XPresso node for the attribute that is creating that curve.
Let me know if I am not being clear enough.
Thanks