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

Facing issue with illustrator automating svg creations

New Here ,
Jun 04, 2025 Jun 04, 2025

Hello,

 

I am using CC Adobe Illustrator for automating image creation with vb .net technology via COM.

I am frequently facing this 'PARM' Error while copy & pasting objects.

Also after opening the file & trying to access the symbols by Name it throws the same 'PARM' error.

 

Impact: Due to this is I am getting unfinished images.

 

Please Advise

TOPICS
Draw and design , Import and export , Performance , Third party plugins
98
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
Community Expert ,
Jun 07, 2025 Jun 07, 2025

Could you possible describe your workflow in more detail?

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
New Here ,
Jun 08, 2025 Jun 08, 2025
LATEST

sure, Let me take the below use case,

I have an ai document where it contains about 400+ small symbols where each symbol is given a name & belongs to same layer in illustrator.

 

Use case:

step 1: Open this ai file & search through the name of the symbol & copy the symbol needed

step 2: Paste it in another document

step 3: above 1 & 2 will occur for all required symbols used (approx 10 times)

 

Code snippet:

For Each grp As Illustrator.GroupItem In SourceAIDocument.GroupItems
If Not grp Is Nothing Then
Try
If (grp.Name.ToString.Equals(uniqueSymbol.Key)) Then - The error occurs here
SourceAIDocument.Activate()-- document with symbols
Try
grp.Copy()

Catch ComEx As System.Runtime.InteropServices.COMException
Continue For

End If
Catch ex As Exception
Logger.WriteToLogError(Constants.ERRORS, ex.Message.ToString, "CopySymbolsInLocalAIFile")
End Try

TargetAIDocument.Activate()
Threading.Thread.Sleep(500)
Try

TargetAIDocument.Paste()
Threading.Thread.Sleep(500)
Exit For
Catch ComEx As System.Runtime.InteropServices.COMException
Continue For

 

Issue: While I search for the symbol by its name, I get this below error 

an Illustrator error occurred: 1346458189 ('PARM')

 

Please suggest some optimazition  that i can try for overcoming the above difficulty.

 

Note: I face similar issue while opening any document that contains few elements & try to copy & paste it.

Previously, with CS5 we didn't faced these issues , it was smooth.

 

Kindly advise if I can turnoff some features that will increase the performance of the illustrator as well.

 

Thanks,

Deepika

 

                  

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