Switch Calculation/ Pitstop Variable Set
Posted: Mon Aug 17, 2015 1:17 pm
Hello, I hope the title is not too confusing.
Heres my problem:
with Pitstop im creating an rectangular shape and place it on my incoming PDF File,
the shape length should be calculated based on 2 values from the XML-File.
These values have a unknown length. Im saving the length values into hierarchy path.
I can read out each value:
First value
[Switch.Calculation:Expression="[Job.Hierarchy:Index="1"]+10.0"]
or second value
[Switch.Calculation:Expression="[Job.Hierarchy:Index="2"]+10.0"]
In order to create the rectangular shape in the correct size I need to know which of these values the longest one is.
An if else rule would be an easy option but i don't see the possibility to use this with variable sets....
Does anyone have an idea?
Heres my problem:
with Pitstop im creating an rectangular shape and place it on my incoming PDF File,
the shape length should be calculated based on 2 values from the XML-File.
These values have a unknown length. Im saving the length values into hierarchy path.
I can read out each value:
First value
[Switch.Calculation:Expression="[Job.Hierarchy:Index="1"]+10.0"]
or second value
[Switch.Calculation:Expression="[Job.Hierarchy:Index="2"]+10.0"]
In order to create the rectangular shape in the correct size I need to know which of these values the longest one is.
An if else rule would be an easy option but i don't see the possibility to use this with variable sets....
Does anyone have an idea?