Is it possible to somehow show the size of cutting paths when preflighting?
I'm thinking by perhaps adding an action list and then logging the result somehow.
Report size of cutting path
Report size of cutting path
Enfocus Switch, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
Re: Report size of cutting path
Yes, it is possible, using this PitStop action list:
Laurent De Wilde, Solution Architect @ Enfocus
Re: Report size of cutting path
Thanks Laurent...
I'll give that one a try.
Update: It works somewhat... The only thing is it reports to total length of the cut path, i.e for a circle that is 400 mm in diameter it reports 1256.64 mm. If possible I'd like the width and height reported, ie. 400x400 mm in this case.
I'll give that one a try.
Update: It works somewhat... The only thing is it reports to total length of the cut path, i.e for a circle that is 400 mm in diameter it reports 1256.64 mm. If possible I'd like the width and height reported, ie. 400x400 mm in this case.
Enfocus Switch, Enfocus PitStop Server, Enfocus PDF Review, HP SmartStream& Kodak Prinergy with RBA
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
Offset 72x102, Offset Large Format, Digital Large Format and Digital print.
Re: Report size of cutting path
If you create an action list with Select spot color + log selection, and generate an XML report, you'll get the bounding box info for that/those object(s):
You can then calculate the height and width:
width=[Switch.Calculation:Expression="[Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@maxX",Precision="2"]-([Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@minX",Precision="2"])"]
height=[Switch.Calculation:Expression="[Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@maxY",Precision="2"]-([Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@minY",Precision="2"])"]
Code: Select all
<Warnings>
<PreflightReportItem ActionID="2079">
<Message>Cut object(s) found (1x on page 1)</Message>
<StringContext>
<BaseString>Cut object(s) found</BaseString>
</StringContext>
<Location page="1" minX="-3.126" minY="-2.75" maxX="135.85" maxY="155.322"/>
</PreflightReportItem>
</Warnings>
width=[Switch.Calculation:Expression="[Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@maxX",Precision="2"]-([Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@minX",Precision="2"])"]
height=[Switch.Calculation:Expression="[Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@maxY",Precision="2"]-([Metadata.Rational:Dataset="Log",Model="XML",Path="/EnfocusReport/PreflightReport/Warnings/PreflightReportItem/Location/@minY",Precision="2"])"]
Laurent De Wilde, Solution Architect @ Enfocus
-
- Member
- Posts: 27
- Joined: Thu Dec 08, 2022 2:25 pm
Re: Report size of cutting path
Hi
I am also trying to achieve this, but in a lot of cases there are multiple cutter elements on a page which are all reported separately in the log like this
</StringContext>
<Location page="1" minX="101.19" minY="244.537" maxX="101.728" maxY="353.566"/>
<Location page="1" minX="101.192" minY="83.542" maxX="201.633" maxY="228.983"/>
<Location page="1" minX="212.384" minY="83.539" maxX="295.302" maxY="84.317"/>
<Location page="1" minX="101.189" minY="493.14" maxX="201.632" maxY="639.146"/>
<Location page="1" minX="101.19" minY="369.121" maxX="101.728" maxY="477.585"/>
What I need is the overall size of all the selected cutter elements. Is there a way to do this?
I am also trying to achieve this, but in a lot of cases there are multiple cutter elements on a page which are all reported separately in the log like this
</StringContext>
<Location page="1" minX="101.19" minY="244.537" maxX="101.728" maxY="353.566"/>
<Location page="1" minX="101.192" minY="83.542" maxX="201.633" maxY="228.983"/>
<Location page="1" minX="212.384" minY="83.539" maxX="295.302" maxY="84.317"/>
<Location page="1" minX="101.189" minY="493.14" maxX="201.632" maxY="639.146"/>
<Location page="1" minX="101.19" minY="369.121" maxX="101.728" maxY="477.585"/>
What I need is the overall size of all the selected cutter elements. Is there a way to do this?
- tdeschampsBluewest
- Member
- Posts: 128
- Joined: Tue Jun 01, 2021 11:57 am
Re: Report size of cutting path
Hi,
You can use the selection to set up a box, like art box (likely the one you rarely use), then report the width and height of this boxe.
You can use the selection to set up a box, like art box (likely the one you rarely use), then report the width and height of this boxe.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Feel free to leave a comment on the Appstore!
-
- Member
- Posts: 27
- Joined: Thu Dec 08, 2022 2:25 pm
Re: Report size of cutting path
Thanks tdeschampsBluewest that works perfectly.