GiD customization manual : GiD_Info gidbits

GiD_Info GiDbits
If GiD is a x32 binary executable, then this command returns 32.
If GiD is a x64 binary executable, then this command returns 64.