warburton1
Aerospace
- Aug 22, 2000
- 45
Hi,
I am trying to run an equation within the parameter/formula editor of v5. The equation is used to determine the minimum length of a part based upon an angular variable and length (in other words a trigonometric equation is applied). However, whilst in its simple form the equation works as soon as I try to round the figures down to a useful value (eg whole number), the system responds with the non-homogeneous units message. Below is a sample of the equation I am running.
min_flange_length=int (((beam_size /2)/sin (beam_angle))+ offset_constant)
I have also tried by changing the 2 to both a parameter with a real value and by applying it as a 2in, all to no avail.
Any help would be appreciated. Thanks
Gary W.
I am trying to run an equation within the parameter/formula editor of v5. The equation is used to determine the minimum length of a part based upon an angular variable and length (in other words a trigonometric equation is applied). However, whilst in its simple form the equation works as soon as I try to round the figures down to a useful value (eg whole number), the system responds with the non-homogeneous units message. Below is a sample of the equation I am running.
min_flange_length=int (((beam_size /2)/sin (beam_angle))+ offset_constant)
I have also tried by changing the 2 to both a parameter with a real value and by applying it as a 2in, all to no avail.
Any help would be appreciated. Thanks
Gary W.