Flat Pattern Instance AND correct Orientation
I am in the process of transferring thousands of Solidworks parts over to CREO 5 and trying to create a macro that sets material and converts to Sheet Metal for us. So far so good with that, but in order to create the Flat Pattern as part of the Macro it requires a face to select as the correct Orientation. I'd like to automate that as well if possible but the top face of the flat pattern could be different for each part, so I'm wondering if there is a way that at time of creating the Flat Pattern "Rep" the correct orientation could be saved as well?
In the Flat Pattern Preview window it automatically positions the view oriented towards the flat face, but for the life of me I cannot figure out how to have it use that view and save it as a new Orientation.
For anyone helping me with this to understand what I am doing here, after the Flat Rep and correct orientation is created I then have a macro generate a new drawing (for Flat Pattern only) using a template that places the flat pattern rep at scale 1:1 and saves the drawing. This is for the Windchill CADWorker to automatically generate a dxf file for our suppliers to access.

