AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
PDMS 12 Cons Dist in Standard Report
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 11 replies
  • Subscribers 2 subscribers
  • Views 36 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Cons Dist in Standard Report

Javad Ganjei
Javad Ganjei over 5 years ago
 
  • Sign in to reply
  • Cancel
  • Cary
    Cary over 5 years ago
    you can get the distance through the position of two objects. for example


    [SIZE=1]

    !strBoxA = '/BOXA'

    !strBoxB = '/BOXB'

    !posBoxA = !strBoxA.DBREF().WORPOS

    !posBoxB = !strBoxB.DBREF().WORPOS

    !rlDistance = !posBoxA.distance(!posBoxB)

    q var !rlDistance
    [/SIZE]
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<