After running a simulation, click the NC code button
of the Steps toolbar to display the G-codes in the Manufacturing Feedback window. You can also click the NC Codes tab of the Manufacturing Results Window. The G-codes are determined by the post processor you set in the Post Options dialog box. You can preview a part's NC code and toolpath before your part design goes to the shop floor. You must run a simulation before you can generate NC code for a part mode. Show Centerline is the fastest simulation.
More information on NC code and how to send it to the CNC machine is available.