AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
PML and PML2 collect connected pipe
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 7 replies
  • Subscribers 17 subscribers
  • Views 57 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

collect connected pipe

standy
standy over 9 years ago
 
  • Sign in to reply
  • Cancel
  • standy
    standy over 9 years ago
    Hello all,

    Do you know how to collect all connected pipes for an target pipe by PML?

    Thanks a lot!!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Miguel Lourenço
    Miguel Lourenço over 9 years ago
    Hi standy_yjh

    With the pipe selected try this:

    PIPE
    VAR !TESTECON COLLECT ALL BRAN FOR CE
    VAR !HREFTESTE EVALUATE HREF FOR ALL FROM !TESTECON
    Q VAR !HREFTESTE
    VAR !TREFTESTE EVALUATE TREF FOR ALL FROM !TESTECON
    Q VAR !TREFTESTE
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Igor Besedin
    Igor Besedin over 9 years ago
    Use pseudo-attibute 'connections' on each branch in your pipe to gather all connected branches, branch members and equipment. Then filter this result.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • standy
    standy over 9 years ago
    Thank you all, But it can not retrieve connection element which connects to member of branch(Tee for example).
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Igor Besedin
    Igor Besedin over 9 years ago
    For getting all branch members connections you can use attibutes 'connectionsh'. Additionally check code of function !!addConnected().
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • standy
    standy over 9 years ago
    For getting all branch members connections you can use attibutes 'connectionsh'. Additionally check code of function !!addConnected().


    Hello Ibes,

    Thank you very much!!
    :teeth_smile:
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Fariza In
    Fariza In 4 months ago in reply to Igor Besedin

    thanks for your suggestion 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel