The philosophical viewpoints of dialectical materialism were applied to explanation for basic contents and methods of structural mechanics. Typical examples were discussed to explore ideological and political theory course knowledge into natural science type mechanics course teaching, meanwhile, improve students' comprehensive quality and culture innovative talents.