• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk Revit MEP

    Reply
    Valued Contributor
    Posts: 86
    Registered: ‎03-02-2012
    Accepted Solution

    Fitting Angle

    144 Views, 2 Replies
    03-08-2013 09:09 AM

    So I have a bunch of fittings that I  am trying to schedule, but do to the nature of revit, and sloped pipes a lot of my fittings are coming in as 89.64 derees and things like that. I want to group all the 90 degree fittings together but I cant because the angles are not the same. When I open up the family and create a parameter to roundup the angle ie: Roundup(Angle) it says "inconsistent units". How is this possible? The only units in there are the Angle units, the rest is just a function. If you know how to side step this annoyance please let me know. Thanks!

    Please use plain text.
    *Expert Elite*
    Posts: 1,911
    Registered: ‎08-28-2009

    Re: Fitting Angle

    03-08-2013 09:39 AM in reply to: michaelmead

    That's a nice little bug you found, it seems - the Angle type parameter is not subjectable to the ROUND function! So as a workaround, use:

     

    roundup(Angle / 1°) * 1°   (copy/paste this or you can just type it without the ° sign and Revit will fill that part in automatically)

    Corey D.                                                                                                                                                               LogoEE.png   AutoCAD user  Revit user
    ───────────────────────────────────────────────────────────────────────────────────────────
    ⁞|⁞ Please use the Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos functions as appropriate to further enhance the value of these forums. Thank you! ───────────────────────────────────────────────────────────────────────────────────────────
    Please use plain text.
    *Expert Elite*
    Posts: 1,911
    Registered: ‎08-28-2009

    Re: Fitting Angle

    03-08-2013 09:42 AM in reply to: CADastrophe

    And as an additional thought - you might be able to get away with a Calculated Value in your schedules rather than going through all of your Families and modifying the formula. It would use the exact same formula, except it would reference your Shared Parameter instead. Just ask if you need more info.

    Corey D.                                                                                                                                                               LogoEE.png   AutoCAD user  Revit user
    ───────────────────────────────────────────────────────────────────────────────────────────
    ⁞|⁞ Please use the Mark Solutions!.Accept as Solution and Give Kudos!Give Kudos functions as appropriate to further enhance the value of these forums. Thank you! ───────────────────────────────────────────────────────────────────────────────────────────
    Please use plain text.