SDK API GetReferencedArt fails to work in few cases

New Here ,
Dec 08, 2021 Dec 08, 2021

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!

TOPICS
Bug , SDK , Third party plugins

Views

58

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 01, 2022 Jan 01, 2022

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines