I trying to create a Mapkey whose final output should be a new rep.
I have create Mapkey which will run on a assembly and select some components based on criteria, now I want to save the selected components in a separate rev and I want to cover this in the same Mapkey.
This is my "new rep" mapkey. It creates a new rep on the fly but it doesn't save it. You would still need to record that action if you want to save the newly created rep. (In our case we don't. They're just temporary.)
mapkey nr @MAPKEY_NAMECreate New Rep;@MAPKEY_LABELNew Rep;\
mapkey(continued) ~ Command `ProCmdViewNormalMaster`;\
mapkey(continued) ~ Command `ProCmdViewInclude`;
Here is another mapkey to discard the temporary rep and return to master.