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

an Illustrator error occurred: 1346458189 ('PARM')

New Here ,
Apr 08, 2021 Apr 08, 2021

Copy link to clipboard

Copied

Hi,

 

We are trying to find path count in .eps files in Adobe Illustrator using the below C# code:

 

Illustrator.Application application = new Illustrator.Application();

document = application.Open(fileName);
IEnumerable pathList = document.PathItems as IEnumerable;
List<Illustrator.PathItem> pathItems = pathList.Cast<Illustrator.PathItem>().ToList();
long totalCount = pathItems.Sum(c => c.PathPoints.Count);

 

The above code runs for single files. However for multiple files in parallel, we get the below error:

                 An Illustrator error occurred: 1346458189 ('PARM')

 

This error occurs intermittently. Is there any alternative solution for the above code? If not why is the above error coming?

 

Please help

TOPICS
SDK

Views

116

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