All Questions
Tagged with adobe-illustrator python
17
questions
0
votes
0
answers
24
views
Maps in pdf format generated by python cartopy cannot be concatenated in illustrator (possibly due to Outlines outside the artboard scope)
I want to use illustrator to concatenate my PDF graphics, which were generated using python cartopy. But when I moved the two maps closer, I got an error and I couldn't move the maps. The detailed ...
0
votes
0
answers
31
views
Javascript to Python in Adobe Illustrator
I'm trying to get Python to run with a script in Illustrator so that Illustrator will ask the user to enter a number and then create a barcode in 128code with Python and then save it somewhere.
It's ...
1
vote
0
answers
54
views
How do I avoid "pure virtual function call" errors when programming Adobe Illustrator via WIN32COM with Python?
While writing python (3.12.2) code to interact with Adobe Illustrator via WIN32COM (Windows 10), I sometimes crash Illustrator with "pure virtual function call" errors.
Here is an example ...
1
vote
0
answers
63
views
Changing text after importing svg (exported via matplotlib) in Illustrator
I am using matplotlib (Python 3.8) to export my figures as svg. When importing those figures into Adobe Illustrator (CC 2018/22.1), the text is split up per letter, i.e. the letters in "...
0
votes
0
answers
60
views
How to convert eps files to Adobe Illustrator version 10 EPS via python
i am looking for python code that converts eps files to Adobe Illustrator version 10. can you help?
import subprocess
import os
def convert_to_ai10(input_eps, output_ai10_eps):
# Full path to the ...
1
vote
0
answers
83
views
Detect by code the width of the Arabic letter which is a type of path or compound path in Adobe Illustrator
In Adobe Illustrator I have many paths like arabic words in ottoman calligraphy layout, and the source of these paths is not a outlined text but a path.
So I need to detect by code (javascript, python,...
1
vote
1
answer
1k
views
How do I get Python Script to draw a simple line in Adobe Illustrator and Visual Studio Code
Like the title says, I just can't get Python script to draw a line between two points in Adobe Illustrator. The following code keeps generating errors:
from os import linesep
import win32com.client ...
-1
votes
1
answer
459
views
Executing an Illustrator batch action using Python
Does anybody know how to execute an illustrator batch action using python??
In Python I have images moved into a folder after they are processed using PILLOW. Then there's an action in Illustrator ...
0
votes
0
answers
1k
views
How can I export a matplotlib figure as a vector graphic with editable ROTATE text annotation?
I want to export a figure with text rotate to a editable document, including text, in adobe illustrator.
In some question give a solution to text not rotate and in axis:
How can I export a matplotlib ...
-1
votes
1
answer
2k
views
Replacing text in .ai, .pdf, .eps etc for print in Python
My problem boils down to this: I have an Adobe Illustrator file with a simple pattern to be etched into an object using a laser. Each object has an ID tag that until now has been manually edited ...
0
votes
0
answers
1k
views
Export a file as .ai (adobe illustrator)
I'm building an application in python thats going to create images that need to be exported to adobe illustrator. I was wondering if anyone has ever worked with AI and has written code that exports ...
1
vote
1
answer
306
views
can't find Mac CMMI8 fonts for illustrator image create with python (postscript)
I have illustrator in mac and in windows.
I have saved a figure as postscript with python matplotlib latex, when I try to open the figure with illustrator in windows it told me that I am missing the ...
0
votes
2
answers
2k
views
How can I automatically combine matplotlib graphs with Adobe Illustrator vector illustrations?
I'm currently writing a scientific paper and am generating most of the figures using matplotlib. I have a pipeline set up using a makefile that regenerates all of my plots whenever I update the data. ...
2
votes
2
answers
3k
views
Execute external script in ExtendScript for Illustrator
Summary:
Is there a way to use the execute() function to pass a parameter to a Python script, and have the Python script use the parameter in its execution, then return the result to ExtendScript?
...
1
vote
1
answer
1k
views
Are any Python PDF libraries able to access objects and groups in an existing PDF file?
I'm building a server application which accepts PDF files that artists have exported from Adobe Illustrator. Each file acts as an art "deck" containing several similar pieces of artwork, with each ...