Page 1 of 1

Security GUI

Posted: Wed Jun 09, 2010 4:41 pm
by Steve Vincent
the security GUI is usless. In 9.0 it was never that fast but in 9.5 its even worse. it took 45 MINUTES to change element security with about 2000 elements and 25 groups via the GUI. the TI code below does this in less than 5 SECONDS.


gMax = DIMSIZ ( '}Groups' );
gn = 1;

Code: Select all

WHILE ( gn <= gMax );
    group = DIMNM ( '}Groups' , gn );
    eMax = DIMSIZ ( dim );
    en = 1;

    WHILE ( en <= eMax );
        ElName = DIMNM ( dim , en );
        ElementSecurityPut ( 'NONE' , Dim, ElName, Group );
        en = en + 1;
    END;

    gn = gn + 1;
END;