Converting Variable Type (Angle to a Number)

Erci_Cheung
Erci_Cheung Member Posts: 15 PRO

New to Onshape and was wondering if there's a way to convert an Angle variable type to a Number? Trying to circular pattern and calculate the number of instances based on the angle variable but it does not like, so is there a way to either convert it or somehow allow me to do some math on it. If I convert the angle to a Number type it works fine but it messes up other things since the variable is no longer an angle. Here is what I have in the Variable Table for Value:

round(#ANGLEPI/180#RADIUS_PITCH)

Best Answer

Answers