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

How to access the Attributes Panel

Community Beginner ,
Sep 12, 2017 Sep 12, 2017

Copy link to clipboard

Copied

Hi,

We need to create a plugin that iterates through all text elements in the .ai file and fills in the the table cells (in the figure) based upon the row and column header strings which can vary for each file.

We need to store some kind of tag info somewhere that will denote elements (specify row and column headers) that are to be updated in the .ai file. We are thinking we could use the notes field in the Illustrator attributes panel to store that tag info. (see attached figure)

image.png

Using the API, is there a way to be able to read info from the illustrator attributes panel. If not, can you suggest some other way to store tags in order to be able to identify text elements to be updated?

Thank you,

Samee.

TOPICS
SDK

Views

5.6K

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 ,
Sep 13, 2017 Sep 13, 2017

Copy link to clipboard

Copied

Not sure how the notes in the attributes panel are implemented, but you can use art dictionaries to associate data with art objects:

Re: How do I attach a AIDictionary to an art object?

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 ,
Sep 14, 2017 Sep 14, 2017

Copy link to clipboard

Copied

Thank you for your response!

Actually, the scenario is that the client will run our plugin for various .ai files, each having a different set of row and column headers (e.g. row headers might be "Postition:", "Signature", etc and column headers might be "Brand Manager", "Marketing Director", "Product Engineer" etc). So we'll have to ask the client to store these header strings somewhere that can be accessed via the SDK. We were hoping the notes section in the Attributes Panel would serve this purpose. If not, is there some other SDK-accessible section that we can suggest the client to store the header info in?

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
Advocate ,
Sep 18, 2017 Sep 18, 2017

Copy link to clipboard

Copied

LATEST

AIArt::SetNote

AIArt::GetNote

AIArt::HasNote

AiArt::DeleteNote

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