Copy link to clipboard
Copied
AIAPI AIErr (*GetReferencedArt) ( AIUIDREFRef uidref, AIArtHandle* art );
The above API fails to retrive the Art Handle of a TextArt(returns NULL when it should be having a valid arthandle) in specific usecases when A "CompoundPathArt" is involved in the art selection.
For Example: Selecting A Text Art and CompoundPathArt and moving it,This should provide a new Arthandle to the Arts when its moved and the API fails to retrive the new ArtHandle.
Any Help on why its failing would be appreciated!
Copy link to clipboard
Copied
I rember the API reference for the new AIUUIDSuite (new UUID vs older UID) for the similar method GetArtHandle stating "This API may fail to provide the correct ArtHandle, if an object's dictionary is acquired but not released after use. (It is not recommended to acquire and hold the dictionary reference for future use)". Might be the same for the older UID suites as well.