Curriculum based ideological and political education and ideological and political education are systematic education projects. Ideological and political education is the key of moral education and the foundation of higher education. Curriculum based ideological and political education is the focus of moral education and the soul of higher education and it is an effective way to cultivate high-quality talents with both political integrity and professional competence. By exploring issues such as the lack of ideological and political education in professional courses teachers lack of ideological and political literacy and students lack of guidance of ideological and political education scientifically designing teaching projects taking projects as the support and selecting ideological and political elements in engineering major courses this paper explores the path of ideological and political transformation in professional courses. Through comprehensively and systematically implementing curriculum based ideological and political education from multiple perspectives integrating ideological and political elements in professional courses into classroom teaching,and it increase professional courses interest of students,so we truly achieve the goal of professional knowledge and moral education going in the same direction cultivating socialist builders own souls and professional knowledge.