To generate the NC code you have to set several information in the 3DEXPERIENCE according what is the expected outut (APTFile on G code) and who is the Post Processor provider .
I have summarized in the ppt the workflow and where to set the key parameters