STOCK SIZE PARAMETER IN MODEL?
Creo 7
This seems insane that its not easier than this.
I can not figure out how to get my parameter in my model to display my full stock size?
I have the following parameters: thickness / width / length
Then I have a relation: thickness=d12, width=d9, length=d10 (and these default to 2 decimal places)
So then I thought, the relation, (stock_size = thickness "x" width "x" length) would give me what I'm after.
Ex 1.50 x 2.50 x 3.50
Nope, further digging got me to the following equation:
STOCK_SIZE = itos(D12) + "." + itos( (D12 - floor(D12)) * 100 ) + " X " + itos(d9) + "." + itos( (d9- floor(d9)) * 100 ) + " X " + itos(d10) + "." + itos( (d10- floor(d10)) * 100 )
Which I arrived at because I needed this specific "itos" function to give me 2 decimal places. Now I get 2.50 x 3.50 x 4.50? (Not the 1.50 x 2.50 x 3.50 that it should be)
So all my values have increased by (1) somehow.
The itos function makes no sense to me but I suppose it works if I can find out what is causing it to increase all my values by (1)?

