Variable Calculation of Text and Length
Posted: Mon Jan 22, 2024 5:09 pm
I am trying to calculate a 'Change Position' Move relative by X: coordinate based upon a variable
My original artwork is at 10th scale but my work order sizes are a full scale i.e. move by 400mm needs to return a value of move by 40mm
I have set up 2 variables the first to gather the data the second to execute the calculation for the action
Variable 1
Name: Trimmed_by:
This is a CONSTANT TEXT variable with a default of 0 allowing for input
In this example the input value would be 400 when the action is run
Variable 2
Name: Trimmed_by_Calc
This is a CALCULATION BASED LENGTH
Variable Value: [Trimmed_by] / 10
This should return a value of 40mm
When I run the action the selected object only moves a fraction of the desired amount.
The move is about 1/3 of the desired amount.
--------------------------------------------------------------------------------------------------------------------------------------------
My current resolution is to run a single variable CONSTANT LENGTH and just remember to use 10th scale measurements.
However its bugging me that I cant get the calculation based solution to work.
My original artwork is at 10th scale but my work order sizes are a full scale i.e. move by 400mm needs to return a value of move by 40mm
I have set up 2 variables the first to gather the data the second to execute the calculation for the action
Variable 1
Name: Trimmed_by:
This is a CONSTANT TEXT variable with a default of 0 allowing for input
In this example the input value would be 400 when the action is run
Variable 2
Name: Trimmed_by_Calc
This is a CALCULATION BASED LENGTH
Variable Value: [Trimmed_by] / 10
This should return a value of 40mm
When I run the action the selected object only moves a fraction of the desired amount.
The move is about 1/3 of the desired amount.
--------------------------------------------------------------------------------------------------------------------------------------------
My current resolution is to run a single variable CONSTANT LENGTH and just remember to use 10th scale measurements.
However its bugging me that I cant get the calculation based solution to work.