use this command "obabel -:"HgC" -ogjf 1.gjf --gen3d"
0 1
Hg 0.99531 -0.06213 0.07822
C -nan -nan -nan
C 3.07531 -0.06213 0.07822
H 0.00000 0.00000 0.00000
H 0.00000 0.00000 0.00000
H 0.00000 0.00000 0.00000
H 0.00000 0.00000 0.00000
H 3.69299 -0.75247 -0.45731
H 4.00317 0.34562 0.42133
HIER
Not a valid input format1 molecule converted
with the "-nan",I can't use this gjf to Gaussian09