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

Selecting Objects

Community Beginner ,
Nov 02, 2017 Nov 02, 2017

Copy link to clipboard

Copied

Hi,

I am looking to create a variation on the selection tool but cannot find anything on how to select art objects in the API or references.

Is there any documentation or examples on selection and drag selection out there?

Any help would be greatly appreciated.

Kind Regards,

Keith

TOPICS
SDK

Views

356

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
Adobe
Advocate ,
Nov 02, 2017 Nov 02, 2017

Copy link to clipboard

Copied

You can select a single piece of art by setting the selected attribute:

sAIArt->SetArtUserAttr(art,kArtSelected,kArtSelected);

I don't think there is anything in the SDK to deal with drag selection.

Votes

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
Community Beginner ,
Nov 03, 2017 Nov 03, 2017

Copy link to clipboard

Copied

LATEST

Thank you very much for your reply.

Okay, I see. Maybe I will have to draw an unfilled dashed box and select everything it touches

Votes

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