a formula for length and diameter
a formula for length and diameter
(OP)
Hi guys,
stuck with some formula. the length and the diameter of the tube depends on some code. for example tube dia. equals code multiplied by value, where 048 is a code and 0.125 is multiply value (tube dia in this case equals 6 inches) . both of this values defined as string in catia, however catia says it's impossible to multiply string by string and get a length parameter. how to deal with that?
stuck with some formula. the length and the diameter of the tube depends on some code. for example tube dia. equals code multiplied by value, where 048 is a code and 0.125 is multiply value (tube dia in this case equals 6 inches) . both of this values defined as string in catia, however catia says it's impossible to multiply string by string and get a length parameter. how to deal with that?





RE: a formula for length and diameter
In the string parameter enter the value of 048
Edit a forumula for the length parameter
String.1 ->ToReal() *.125in
The .125in will convert the sting (must be all numbers) to inches and divide by 1/8.
If it was a metric value than *1mm
Regards,
Derek
Win 7
23SP5/24SP3, 3DVIA Composer 2015
RE: a formula for length and diameter