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

how find plugin items

Contributor ,
Jan 26, 2023 Jan 26, 2023

Hi, I have some files which open with a message that "some art objects use a plugin that is not available"

However, document.pluginItems is emtpy. How could I detect which art items are affected

TOPICS
Scripting
1.2K
Translate
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
Mentor ,
Jan 26, 2023 Jan 26, 2023

I'm guessing "document.pluginItems is emtpy" because "some art objects use a plugin that is not available".

You'll need to go back to the source file/creator and see what was used, assuming it wasn't you that created it.

Translate
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 Expert ,
Jan 26, 2023 Jan 26, 2023

The (free) plugin SelectMenu can detect Plugin art https://rj-graffix.com/downloads/plugins/#selectmenu

I don't know if that is also possible with scripts.

Translate
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
Contributor ,
Jan 26, 2023 Jan 26, 2023

Hi, this seems to be a valuable addition. Unfortunately, it does not seem to find plugin art inside symbols

Translate
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 Expert ,
Jan 26, 2023 Jan 26, 2023

can you share a sample file? 

docRef.pluginItems should work

Translate
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
Contributor ,
Jan 27, 2023 Jan 27, 2023

Hi CarlosCanto,

 

I started with the finding that doc.pluginItems.length was zero.

I will try later how the file behaves on a computer where the plugin is installed

Translate
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
Contributor ,
Jan 28, 2023 Jan 28, 2023

Hi, it turns out that neither pluginItems nor the select menu find the effect, on a machine with the plugin, as well as without. Also going to symbol edit mode does not help. The plugin use can be seen inside the attributes panel, as an fx entry.

However, the plugin maker has a tool to locate affected items

Translate
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 Expert ,
Jan 28, 2023 Jan 28, 2023

can you somehow tell if the object is a plugin item? if so, select it manually and run this snippet to see what kind of object illustrator thinks it is.

 

alert(selection[0].typename)

Translate
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
Contributor ,
Feb 07, 2023 Feb 07, 2023
LATEST

Hi,

 

sorry for late reply. I had a look at one of the objects in debug panel. It is a simple path or compound path which has an appearance. I did not see anything in debug panel actually naming the plugin.

BTW, the plugin is phantasm from astutegraphics

Translate
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