This paper studies structural topology optimization, and the position of mode shape nodal lines is introduced to the equation as a constraint firstly. It builds the sensitivity equation of the position of mode shape nodal lines and frequency. Thereafter, the element deletion criterion with frequency and position of mode shape nodal lines constraints is afford. Then on the base above, it provides the fit path of topology optimization with constraints of frequency and the position of mode shape nodal lines. Finally, a numerical example demonstrates that the method used in this paper is effectively.