-
1. Re: groups paths
JLGPanda Sep 2, 2010 9:02 AM (in response to deerowbear)Hi,
First, I create a group with
error=sAIArt->NewArt(kGroupArt, kPlaceAboveAll, NULL, &AHGroup);
then, I create my paths with
error = sAIArt->NewArt( kPathArt, kPlaceInsideOnTop, AHGroup, &MyPath1);
error = sAIArt->NewArt( kPathArt, kPlaceInsideOnTop, AHGroup, &MyPath2);
error = sAIArt->NewArt( kPathArt, kPlaceInsideOnTop, AHGroup, &MyPath3);
I hope this will be useful,
JLG.
-
2. Re: groups paths
A. Patterson Sep 2, 2010 9:33 AM (in response to JLGPanda)kPlaceAboveAll ignores the prepositional object (in this case, the group). Ditto for kPlaceBelowAll. If you want to use the prepositional object, you need to use kPlaceAbove, kPlaceBelow (which put the art to one side or the other of the prepositional object) or kPlaceInsideOnTop or kPlaceInsideOnBottom (which obviously works on things like groups).
So the code JLGPanda posted would work just fine for you, but mainly you just need to use kPlaceInsideOnTop instead of kPlaceAboveAll.
-
3. Re: groups paths
deerowbear Sep 3, 2010 7:50 AM (in response to deerowbear)Thanks for the help that worked great.


