Output compound attributes?

Output compound attributes?

dragoavdalovic
Participant Participant
627 Views
1 Reply
Message 1 of 2

Output compound attributes?

dragoavdalovic
Participant
Participant

Hi There;

I am creating node that has input compound attribute called aPoseList. It has a child attribute aOffsets which is pointArray. 

aPoseList

  aPoseList[0]

 

    - offsets

       - offsets[0] (pointArray)

       - offsets[1] (pointArray)

       - offsets[...] (pointArray)

  aPoseList[1]

    - offsets

      - offsets[0] (pointArray)

      - offsets[1] (pointArray)

      - offsets[...] (pointArray)

 

My question is : how do I build output compound attribute that would look like this:

aOutput

  -aOutPoint[0] (pointArray)

  -aOutPoint[1] (pointArray)

  -aOutPoint[...](pointArray)

 

I understand that I need to use data builder to build output and I have done it building only one pointArray. Just don't know how to build this multiple compound attribute outputs. 🙂

 

Hope it make sense. Example or short explanation would be highly appreciated.

Many Thanks,

Drago

 

 

~Drago
0 Likes
628 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
When you say 'pointArray', do you mean a multi attribute where each element is a single point (i.e. of type k3Float or k3Double), or do you mean a single element attribute of type kPointArray?

If you're not sure what I mean, just post the code you use to create the aOutput attribute.
0 Likes