and
Guest
Hi I have an ilogic for calculating the weight of assemblies and parts so as to insert it into a custom variable.
iproperties.value("custom", "peso_gr") = math.round(iproperties.mass*1000), 0)
I had speculated that the unit of measurement of the assembly and parts was always in kg for this I multiplied by 1000 the result.
But since I have different units of measurement, can I insert a control that goes to me to see the unit of measurement and then decide whether to multiply it by 1000 or not??
Thank you.
iproperties.value("custom", "peso_gr") = math.round(iproperties.mass*1000), 0)
I had speculated that the unit of measurement of the assembly and parts was always in kg for this I multiplied by 1000 the result.
But since I have different units of measurement, can I insert a control that goes to me to see the unit of measurement and then decide whether to multiply it by 1000 or not??
Thank you.