Photoelectric parameters is one of the important input data for researching System Generated Electromagnetic Pulse(SGEMP) environment,responses and effect.MCNP usually used for calculating photoelectric parameters,but the format of input files is very complicated,and the program have not a communication interface with other software.An interface software was developed for windows system to automatically generate input files.The program was compiled with C++Builder languages.Using the interface software,only with rays and material data,user can obtain photoelectric parameters.The soft resolved communication between SGEMP calculating software and MCNP program,and it helpful for SGEMP calculating software becomes a common application.