SYSTEM AND USER DEFAULTS IN DRAW

I have about 20 projects setup with multiple disciplines all referring to the same system defaults in E3D draw.  I have placed the system defaults and all the EVARs points to the same file.  This all works perfect with 1 exception. 

i have used the default repr rule for structural and when any other discipline is using DRAW they have to update the user defaults for repre and hatch to their discipline.  I tried to use PML and the login in the dra-gen-system defaults file and it failed. 

How can I have the draw system defaults automatically by team or user?  I do not want to combine the LIBY of each discipline into 1 as they are quite large each. 

Parents
  • One way is via a PML-Addin in DRA folder, not sure how valid approach it is on a bigger scale, but it works for me :)

    Also it requires that first entry AVEVA_DESIGN_DFLTS is a local folder for each user (so we have something to copy the source file into and that E3D will look inside for a valid file)

    Search the manual for Defining a PML Add-in, I totally fail the paste a working link into this form at the moment...

    Setting key as

    SwitchModify: GEN: !!drawAddinTestControl.switchModify()


    And inside the control object

    define method .switchModify()
    var !u user
    if !u eq 'A' then
        SYSCOM 'xcopy "....\DFLTS\DRA-GEN-SYSTEM_For_user_A" "C:\PDMSUSER\PMLUI\DRA-GEN-SYSTEM" /Y'
        else
        SYSCOM 'xcopy "....\DFLTS\DRA-GEN-SYSTEM" "C:\PDMSUSER\PMLUI\DRA-GEN-SYSTEM" /Y'
    endif
    endmethod

Reply
  • One way is via a PML-Addin in DRA folder, not sure how valid approach it is on a bigger scale, but it works for me :)

    Also it requires that first entry AVEVA_DESIGN_DFLTS is a local folder for each user (so we have something to copy the source file into and that E3D will look inside for a valid file)

    Search the manual for Defining a PML Add-in, I totally fail the paste a working link into this form at the moment...

    Setting key as

    SwitchModify: GEN: !!drawAddinTestControl.switchModify()


    And inside the control object

    define method .switchModify()
    var !u user
    if !u eq 'A' then
        SYSCOM 'xcopy "....\DFLTS\DRA-GEN-SYSTEM_For_user_A" "C:\PDMSUSER\PMLUI\DRA-GEN-SYSTEM" /Y'
        else
        SYSCOM 'xcopy "....\DFLTS\DRA-GEN-SYSTEM" "C:\PDMSUSER\PMLUI\DRA-GEN-SYSTEM" /Y'
    endif
    endmethod

Children
No Data