AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS/E3D Forum
  • AVEVA World
PDMS/E3D Forum
PDMS Quick Tips & Customizations Holes on/off
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 13 replies
  • Subscribers 2 subscribers
  • Views 16 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Holes on/off

Admin
Admin over 18 years ago
 
  • Sign in to reply
  • Cancel
  • Admin
    Admin over 18 years ago
    Am I the only person that finds that doing holes on/off is tiresome.

    Settings>Graphics>Representation (3 clicks)
    Holes Drawn (1  click)
    Update All graphics (1 click)
    OK (1 click)

    6 clicks and then another 6 to turn them off again!

    This should be toggle on main bar like autoclasher!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Admin
    Admin over 18 years ago
    Add the following to 2 buttons on a toolbar and you can do it in one click.

    button.button1|Holes On|CALL|repre hole on
    repre update|

    button.button2|Holes Off|CALL|repre hole off
    repre update|

    Ths commands for each button need to be on separate lines for it to work.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Admin
    Admin over 18 years ago
    I too have added this function to our products but
    why isn't it in standard product?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Raymond Metselaar
    Raymond Metselaar over 18 years ago
    On this forum I read that on the command line you type repre hole on/off depends on what you want and with repre update it will refresh the for updated view.

    HtH
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Thomas Back
    Thomas Back over 18 years ago
    I have a file called des-rep.pmldat  in my PDMSUSER directory, containing only the following data:

    -- Data file for graphical representation options
    !!tmpGphRepOpt.holes = TRUE


    That way I do not need to go in and toggle those settings every time I enter PDMS.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Dan Maxim
    Dan Maxim over 9 years ago
    [QUOTE=tecate;6416]Add the following to 2 buttons on a toolbar and you can do it in one click.

    button.button1|Holes On|CALL|repre hole on
    repre update|

    button.button2|Holes Off|CALL|repre hole off
    repre update|

    Ths commands for each button need to be on separate lines for it to work.

    What about a toggle whose open callback function will execute all this ?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Joe
    Joe over 7 years ago
    No one can suit to all needs.
    But at least Aveva give a user room to do what they need.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kevin Acosta
    Kevin Acosta over 6 years ago
    I have a form created that has a toggle to control the on/off representation which is working, however if my current hole representation state is "ON" when I display my form it still shows as "OFF". If I toggle it twice on the form everything is fine although I would like for my form to show the "ON/OFF" state correctly when I show my form. Is this possible?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Cary
    Cary over 6 years ago
    you can try to check the representation state (using command Q REPRE HOLES) first and update the form in your initialization before showing it.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Kevin Acosta
    Kevin Acosta over 6 years ago
    I thought about that but couldn't figure out how to store the return of the query in a variable in order to use in my initialization method. I'm sure I'm overlooking something pretty simple but how would I do that? Thanks for your help.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>