Width and Height in mm, but no Precision?
Posted: Fri Nov 14, 2014 12:02 pm
Hi!
Im using the Smartstream Designer Imposition to load different business cards and choosing template based on the width and height of Trim box. The problem is that I can't match them depending on the "." that isn't supported in template name or that I can't skip "Precision" when having the Trim box sizes...
I have done this so far:
[Switch.Calculation:Expression="[Stats.TrimBoxWidth]/72*25.4",Precision="1"]x[Switch.Calculation:Expression="[Stats.TrimBoxHeight]/72*25.4",Precision="1"][Job.Hierarchy:Segment=7,10]
The last part tells me what folder it landed in and is used to match current template.
The problem is following:
- When using the Precision it gives me one decimal at least - there is no way of skipping decimals att all?
- If I go on the code above i can create the name of the template - but since there is "." it can't match because the template name cuts off from first ".".
So a template named "55.0x85.0_4_4.impp" will be seen as "55".
Anyone know how to do this?
Im using the Smartstream Designer Imposition to load different business cards and choosing template based on the width and height of Trim box. The problem is that I can't match them depending on the "." that isn't supported in template name or that I can't skip "Precision" when having the Trim box sizes...
I have done this so far:
[Switch.Calculation:Expression="[Stats.TrimBoxWidth]/72*25.4",Precision="1"]x[Switch.Calculation:Expression="[Stats.TrimBoxHeight]/72*25.4",Precision="1"][Job.Hierarchy:Segment=7,10]
The last part tells me what folder it landed in and is used to match current template.
The problem is following:
- When using the Precision it gives me one decimal at least - there is no way of skipping decimals att all?
- If I go on the code above i can create the name of the template - but since there is "." it can't match because the template name cuts off from first ".".
So a template named "55.0x85.0_4_4.impp" will be seen as "55".
Anyone know how to do this?