AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
Modules
  • AVEVA World
  • PDMS/E3D Forum
  • Modules
  • Cancel
Modules
Paragon Module Delete ce memberes
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 9 replies
  • Subscribers 6 subscribers
  • Views 84 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Delete ce memberes

Bnmd
Bnmd over 11 years ago
 
  • Sign in to reply
  • Cancel
  • Bnmd
    Bnmd over 11 years ago
    Hi all,

    how to delete ce members through command line
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Tomas Veleman
    Tomas Veleman over 11 years ago
    add ce mems to list and type to action line delete $!!ce.type
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Bnmd
    Bnmd over 11 years ago
    i want to delete members in propcon module there i cant create list.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • THANGA PANDI
    THANGA PANDI over 11 years ago
    !TYPE = !!Alert.Input('TYPE','SCTN')
    VAR !COLL COLL ALL $!TYPE FOR CE
    DO !i INDICES !COLL
    $!COLL[$!i]
    !TEPE = !!CE.TYPE
    DELETE $!TEPE

    ENDDO


    -stpandi-
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Tomas Veleman
    Tomas Veleman over 11 years ago
    SYNTAX is: DELETE type for example: delete CMPD
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • R.N.
    R.N. over 11 years ago
    Delete $!!ce.type mem
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Bnmd
    Bnmd over 4 years ago
    Nice Thanks. Sometimes Delete $!!ce.type mem is not working
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Aurelio Hinampas
    Aurelio Hinampas over 4 years ago
    Nice Thanks. Sometimes Delete $!!ce.type mem is not working

    It will not work sometimes if the callback "Delete $!!ce.type mem" is directly assign to a button gadget. Reason is that once the button gadget has been click to run the callback, TYPE of the element in the callback became fixed and will not change even if you change the Current Element. Example; Your CE is EQUI, button callback will be fixed to: DELETE EQUI MEM

    If you want to Delete another element TYPE for example; STRU - this comes the error because the button callback is set to EQUI. In order to fixed the issue, you need to place the callback "Delete $!!ce.type mem" within the method for PML-2 or create a separate file for callback and just run the macro $M ​for PML-1.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Bnmd
    Bnmd over 4 years ago
    [QUOTE=rhel;116610]It will not work sometimes if the callback "Delete $!!ce.type mem" is directly assign to a button gadget. Reason is that once the button gadget has been click to run the callback, TYPE of the element in the callback became fixed and will not change even if you change the Current Element. Example; Your CE is EQUI, button callback will be fixed to: DELETE EQUI MEM

    If you want to Delete another element TYPE for example; STRU - this comes the error because the button callback is set to EQUI. In order to fixed the issue, you need to place the callback "Delete $!!ce.type mem" within the method for PML-2 or create a separate file for callback and just run the macro $M ​for PML-1.

    Thank you very much
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel