hexagon logo

Condensing / Hiding code ?

I am helping out a bit back on the CMM as a " consultant ( I mainly work in estimating ) and I have been working on a huge lengthy prg. I cannot for the life of me remember the commands that " hide " the code ? Rather than scroll thru the whole prg, you are able to condense it ? Kinds like its in a subfolder ? There was a command at either end of what you want to" hide or show " ? Total brain drain trying to remember....
Parents
  • Does grouping condense code in command mode too or just in summary mode?


    Yes. See some sample code that I have for a program.

    IF/HOLES=="YES"
    BOLTHOLES_GRP =GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=BOLTHOLES_GRP
    END_IF/
    IF/OD=="YES"
    OD_GRP =GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=OD_GRP
    END_IF/​​
    
Reply
  • Does grouping condense code in command mode too or just in summary mode?


    Yes. See some sample code that I have for a program.

    IF/HOLES=="YES"
    BOLTHOLES_GRP =GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=BOLTHOLES_GRP
    END_IF/
    IF/OD=="YES"
    OD_GRP =GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=OD_GRP
    END_IF/​​
    
Children
No Data