Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

# Thread: need a solution with an angle issue

1. ## need a solution with an angle issue

hey guys,

I want to start my angle at 90° and finish at 0°, and in between I want to subtract 1.81, so when i set it to 45 degree it will be 43.19.

any idea how to achieve this?

cheers.

2. To clarify on what i mean here is a JPEG.

3. if(angle<0+x, 0, if(angle>90-x, 90, x))

4. Thank you Ekkonap. 0-90 degrees works, but in-between theses degrees needs -1.81 so when i change it to 45 it should automatically change to 43.19 or if i change it to 30 degree it be 28.19, but changing it back to 0 or 90 it should not substrate 1.81.

5. http://www.revitforum.org/tutorials-...day-usage.html
Use an Or statement and a calculation parameter:
Using logical OR
IF ( OR ( x = 1 , y = 2 ) , <true>, <false>)
Returns <true> if either x=1 or y=2, else <false>
if(or(Angle=90,Angle=0),Angle,Angle-1.81)

6. Thank you so much Bender. I really really need to get my head around these formulas.

7. Originally Posted by mark2009
I really really need to get my head around these formulas.
me too
7890

8. Morning I have got no Idea if this is possible making the value lie so it says 43.19 but the angle is till 45?

9. The parameter that controls the geometry in the family needs to be the one with the formula. If you look at my example the annotation that constrains the reference line is AngleControl, not Angle

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•