PDA

View Full Version : slope unit



Bryan Thatcher
2010-07-22, 03:21 PM
How do assign the slope unit type to a parameter or constraint in a family? Thanks.

dzatto
2010-07-22, 03:43 PM
How do assign the slope unit type to a parameter or constraint in a family? Thanks.
What do you mean by slope unit? Are you referring to a slope of 6:12 for example? If so, then:


Create a paramter called something like SlopeX. This is where you will put the slope. For example, 6 if you want a pitch of 6:12

Then, under the angle parameter use this formula:

atan(SlopeX/12)

patricks
2010-07-22, 04:54 PM
I usually assign an angle parameter under "Other" and just call it something simple like "a".

Then I make a Number parameter and call it Slope, Roof Slope, whatever and put it under Constraints.

Then on the "a" parameter, enter the formula "=atan (Slope / 12)" without quotes of course.

Bryan Thatcher
2010-07-22, 05:56 PM
So I was hoping to use the slope instead of 'pitch', in this case. Is there a way to keep 'pitch' from showing up in the properties if I create a Slope formula as described? What is the point on the Slope unit type if it can't be used directly? Thanks.