AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
Modules
  • AVEVA World
  • PDMS/E3D Forum
  • Modules
  • Cancel
Modules
Paragon Module Trimmed elbow rtext
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 4 replies
  • Subscribers 6 subscribers
  • Views 74 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Trimmed elbow rtext

Anna Bauman
Anna Bauman over 4 years ago
 
  • Sign in to reply
  • Cancel
  • Anna Bauman
    Anna Bauman over 4 years ago
     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mEhul_patel
    mEhul_patel over 4 years ago
    [QUOTE=annabauman;116799]Sharing knowledge:
    The following is the formula I am using for my Rtext  to give me an isometric callout for a 45 degree elbow that has been trimmed to more than 44.5 degrees:

    [LEFT][COLOR=#172B4D][FONT=-apple-system]Rtext ( 'ELBOW, 45 DEG LR' + IFTRUE ( ATTRIB ANGL LT 44.5 , ' TRIMMED TO ' , '' ) + IFTRUE ( ATTRIB ANGL LT 44.5 , STR ( REAL ( ATTRIB ANGL ) , 'D2' ) , '' ) + IFTRUE ( ATTRIB ANGL LT 44.5 , ' DEG' , '' ) + ', BW, ' + ATTRIB SCHED + ',' )[/FONT][/COLOR][/LEFT]

    For this to work you need to make sure that you have PIPE DATA TABLE set up for your Spec so that it picks up the SCHED attribute, you also need to make sure that your ATTRIB ANGL is returning a REAL designation - this will let D2 part of the formula give you only 2 decimal places for your angle reference.
    I was looking for him long ago. Now I have received it. Thanka
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Anna Bauman
    Anna Bauman over 4 years ago
    You are welcome!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Parag S Newe
    Parag S Newe over 4 years ago
    Nice one Annabauman
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel