bweir
2004-11-24, 05:27 PM
Is there a way to convert from angle units to linear units?
I have a parameter Length, two lines in a sketch with an arc between them. I wanted the first line to be 3/4 of Length, lets say d0=Length*.75. The second line would be dimensioned to be:
Length - d0 - d1*3.14/180*d2
Where d1 is the radius of the arc and d2 is the angle between the two lines.
So basically the length of line1 + length of line2 + length of arc1 = Length parameter
My assumption was that I wouldn't have any problems with the formula but Inventor doesn't seem to allow combinations of units (linear & angular). Is there some way to work around this?
Also a side note: How can I use a VBA function in an equation. I have a function Pi to calculate of course Pi and would rather use that in the equation then 3.14.
I have a parameter Length, two lines in a sketch with an arc between them. I wanted the first line to be 3/4 of Length, lets say d0=Length*.75. The second line would be dimensioned to be:
Length - d0 - d1*3.14/180*d2
Where d1 is the radius of the arc and d2 is the angle between the two lines.
So basically the length of line1 + length of line2 + length of arc1 = Length parameter
My assumption was that I wouldn't have any problems with the formula but Inventor doesn't seem to allow combinations of units (linear & angular). Is there some way to work around this?
Also a side note: How can I use a VBA function in an equation. I have a function Pi to calculate of course Pi and would rather use that in the equation then 3.14.