Hello All,
I am trying to add following relation in a model.
THICKNESS=D4
WIDTH=D5
LENGTH=D6
Where D4, D5 & D6 are the dimension IDs of the plate thickness and widths respectively.
Now I want to add one more relation which should give me the result as:
PLATE_SIZE = THICKNESS x WIDTH x LENGTH
For this I have to convert the THICKNESS, WIDTH and LENGTH variables into the STRING types.
How to get the values converted into sting type?
There is one function available called "itos" but it converts the decimals into the nearest integer.
I want the exact number with decimals to be converted in the string, so that I can write the required relation by concatenating following things :
PLATE_SIZE = string(THCKNESS) + "x" + string(WIDTH) + "x" + string(LENGTH)
Can someone please help me in converting the values into strings, or any work around for my requirement of PLATE_SIZE?
Thanks in advance,
Sachin Mahajan