Skip to main content
minimum99
Known Participant
October 4, 2010
Question

How to group arts into a group

  • October 4, 2010
  • 1 reply
  • 677 views

I look in AIArtSuite but could not figure out how to group multiple arts into a group.

Please help.

This topic has been closed for replies.

1 reply

October 5, 2010

sAiArt->ReorderArt(thisGroupArt,   kPlaceInsideOnTop / kPlaceInsideOnBottom ,  newGroupArt  )

minimum99
minimum99Author
Known Participant
October 5, 2010

Thanks very much, this is how I ended up doing:

There are 2 arts to be grouped: image (kPlacedArt) and path (kPathArt).

I created a new art of type kGroupArt and place the other two inside it.

    sAIArt->NewArt(kGroupArt, kPlaceAboveAll, nil, &group);
    sAIArt->ReorderArt(image, kPlaceInsideOnTop, group);
    sAIArt->ReorderArt(path, kPlaceInsideOnTop, group);