Count number of paths with a specific spot color
- magnussandstrom
- Advanced member
- Posts: 376
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Count number of paths with a specific spot color
I would like to know the number of paths in a page with the spot color named Cut. I know I can use the 'Number of path on page' but how do I make it only count paths with the spot color 'Cut'?
Re: Count number of paths with a specific spot color
Run the following Action List:
Select line art, select spot color Cut, AND, Log selection "This is a cut line"/Log as warning.
The PitStop Pro Navigator will tell you how many instances there are of that particular message.
If it is in the context of Switch, run the Action List and make sure to create an XML report. In the Metadata you can then query the XML report with the following XPath to give you the number of messages:
count(/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/StringContext[BaseString='This is a cut line'])
Select line art, select spot color Cut, AND, Log selection "This is a cut line"/Log as warning.
The PitStop Pro Navigator will tell you how many instances there are of that particular message.
If it is in the context of Switch, run the Action List and make sure to create an XML report. In the Metadata you can then query the XML report with the following XPath to give you the number of messages:
count(/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/StringContext[BaseString='This is a cut line'])
- magnussandstrom
- Advanced member
- Posts: 376
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: Count number of paths with a specific spot color
Thanks Freddy, this was exactly what I was trying to do!