Want to generate G-code fomat(CNC Program) directly from cad model.Can anyone Help me for this ?

I want to generate G-code formats for different CNC machines using ProE 4.0 or 5.0. Want to generate CNC program from existing Proe models can anybody help me regarding this.