Skip to main content
Innotex Nico Tanne
Inspiring
Apr 19, 2024 7:40 AM UTC
Answered

extract pattern fills

Hello everyone,

 

Maybe you can help me?

I am looking for a way to get pattern fills back into individual data.

My idea would be a script that outputs the size of the individual tile of the pattern fill and adjusts the document size on this basis. now you would only have to rasterize and have the individual tile of the pattern fill? What is the best way to implement this? are there any other solutions? Many thanks in advance for your help 🙂

Innotex Nico Tanne
Innotex Nico TanneCorrect answer
Inspiring
Apr 19, 2024 11:13 AM UTC

I need these values from the current pattern fill to bring the workspace to this size and then to rasterise and save the pattern fill in the smallest repetition.

11 replies

kovace
Participant
May 25, 2026 7:31 PM UTC

chatgpt direct me here for no reason. so to get pattern size read only 
 

var pattern = RenderAPI.getParameter(kpsPattern)

var patternSize = pattern.getParameter(kpsSize)

var patternSizeForDialog = Math.max (patternSize.x, patternSize.y)
also u can use Fill first dope down pattern with random or path option . i guess this post is old and the time u make this was not update the fill dialog box with this option i dont know i m to lazy to check the mass up adobe change log. meh

Translate
Stephen Marsh
Community Expert
Community Expert
Apr 19, 2024 1:52 PM UTC

Why can't you use the .pat files? Apart from doing it manually, I have no idea.

Translate
Innotex Nico Tanne
Inspiring
Apr 19, 2024 8:33 PM UTC

But then I only have the patterns as pattern filling again. But I need the single file for editing and the single repetition for the print shop. And a script would help me save time.

Translate
Stephen Marsh
Community Expert
Community Expert
Apr 19, 2024 11:26 PM UTC

Sorry, I don't know how to automate this.

Translate
Innotex Nico Tanne
Innotex Nico TanneAuthorCorrect answer
Inspiring
Apr 19, 2024 11:13 AM UTC

I need these values from the current pattern fill to bring the workspace to this size and then to rasterise and save the pattern fill in the smallest repetition.

Translate
Participant
Aug 7, 2025 9:28 AM UTC

Your screenshot saved me. Thank you!

Translate