• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

GetLayerSelected is not working

Community Beginner ,
Oct 13, 2022 Oct 13, 2022

Copy link to clipboard

Copied

Hello all, can anyone help me?

AIAPI AIErr(* GetLayerSelected )(AILayerHandle layer, AIBoolean *selected)
Always returns false regardless of whether the layer is selected or not. 

App version: 2022

Download version: v4 - Jul 2022


Here is my sample code
ai::int32 countLayer;
sAILayer->CountLayers(&countLayer);
AILayerHandle layer;
AIBoolean selected;
for (ai::int32 n = 0; n < countLayer; ++n){
    sAILayer->GetNthLayer(n, &layer);
    sAILayer->GetLayerSelected(layer, &selected);
}

TOPICS
Bug , SDK

Views

63

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
no replies

Have something to add?

Join the conversation
Adobe