Select the part
Create a MOP (profile, engrave, pocket etc.)
Right click on the MOP and select Generate Toolpath
Right click on the MOP and select Create Gcode File.
Save g-code file.
If the part requires more than one MOP, then right click on Machining in the tree view and select Create Gcode File, then save.