Pitstop Action for making Kongsberg Cut PDF [solved}
- magnussandstrom
- Advanced member
- Posts: 380
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Pitstop Action for making Kongsberg Cut PDF [solved}
Hi, I'm trying to make an action that does the following:
1. Select Kongsberg marks and move objects to PDF layer named Regmark (the black circles)
2. Select spot color 'cut' and move objects to a PDF layer named Cut (the pink boxes)
3. Delete all other objects
Here is an example file: https://bit.ly/3pJYJzx
I'm really struggeling, if someone could help me out I would be very happy!
1. Select Kongsberg marks and move objects to PDF layer named Regmark (the black circles)
2. Select spot color 'cut' and move objects to a PDF layer named Cut (the pink boxes)
3. Delete all other objects
Here is an example file: https://bit.ly/3pJYJzx
I'm really struggeling, if someone could help me out I would be very happy!
Last edited by magnussandstrom on Thu Nov 17, 2022 10:42 pm, edited 2 times in total.
- magnussandstrom
- Advanced member
- Posts: 380
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Pitstop Action for making Konsberg Cut PDF
This is my poor attempt of an non working action: https://bit.ly/3cuEoLk
- JimmyHartington
- Advanced member
- Posts: 320
- Joined: Tue Mar 22, 2011 7:38 am
Re: Pitstop Action for making Kongsberg Cut PDF
Are the circle always placed with the same inset from left and right.
Or is the Media Box format of the pdf always the same?
Or is the Media Box format of the pdf always the same?
- magnussandstrom
- Advanced member
- Posts: 380
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Pitstop Action for making Kongsberg Cut PDF
Mediabox will vary and the black circles will always be positioned the same relative to the mediabox.
Re: Pitstop Action for making Kongsberg Cut PDF
I may have gone a little above and beyond with what's getting moved, but it gives you a good idea how I like to approach this sort of thing. Hope it helps.
Last edited by jslater on Fri Aug 26, 2022 3:52 pm, edited 1 time in total.
Re: Pitstop Action for making Konsberg Cut PDF
The Action List Visualiser is very helpful in debugging something like this. It will show the selections on the page as you step through the Action List.magnussandstrom wrote: ↑Fri Aug 26, 2022 12:11 pm This is my poor attempt of an non working action: https://bit.ly/3cuEoLk
With this I noticed the "select fill color" action didn't select anything. And indeed, looking at the registration mark they are not DeviceGray but instead an ICCBased CMYK. You can select that specifically, or use a "Select color range" in combination with turning off colour management to select all black objects, regardless of colour space.
A second problem is more insidious. Because of the way layers work in PDF assigning something to a layer and then immediately using that layer to select the objects won't work. But that's okay because you already _have_ the selection. Basically what you have is:
Select registration marks
Assign to layer
Select cut guide
Assign to layer
Select all
(Try to deselect registration marks and cut guide)
Remove selection
The deselecting is not working because it's based on layers, but like I said you don't need that if you can re-use the existing selections. Something like this is probably the easiest:
Select registration marks
Assign to layer
Select cut guide
Assign to layer
OR ---- selects anything that is a registration mark OR a cut guide
NOT --- invert the selection
(select all is not needed, but could be added for clarity if you want, then combine with AND)
Remove selection
- magnussandstrom
- Advanced member
- Posts: 380
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Pitstop Action for making Kongsberg Cut PDF
Thanks, I figuered it out!
-
- Newbie
- Posts: 10
- Joined: Wed Apr 28, 2021 11:50 pm
Re: Pitstop Action for making Kongsberg Cut PDF
Hi Magnus,
Could you post your solution please.
Cheers
Could you post your solution please.
Cheers
- magnussandstrom
- Advanced member
- Posts: 380
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Pitstop Action for making Kongsberg Cut PDF
Hi Tim, this is how I solved it (actions and test file): https://bit.ly/3fQFSRZ
Hope it works for you!
-
- Newbie
- Posts: 10
- Joined: Wed Apr 28, 2021 11:50 pm
Re: Pitstop Action for making Kongsberg Cut PDF
Thanks Magus.
I'll give it spin and let you know how I go.
Cheers
I'll give it spin and let you know how I go.
Cheers
- magnussandstrom
- Advanced member
- Posts: 380
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Pitstop Action for making Kongsberg Cut PDF
FYI: To reduce the chance that Pitstop grabs anything else then the Esko circles we make them 100%k and 1%y.Tim Murphy wrote: ↑Wed Nov 09, 2022 4:15 am Thanks Magus.
I'll give it spin and let you know how I go.
Cheers
-
- Newbie
- Posts: 10
- Joined: Wed Apr 28, 2021 11:50 pm
Re: Pitstop Action for making Kongsberg Cut PDF
Yes, works well.
The 100% / 1% did have me stumped for awhile
Thank you
The 100% / 1% did have me stumped for awhile
Thank you