cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

MAp key to create a rep

Visitor

MAp key to create a rep

Hi all,

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.

 

is it possible to create Mapkey to create a rep?

 

can someone guide me on this?

 

thanks in advance

1 REPLY 1

Re: MAp key to create a rep

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.

mapkey mr @MAPKEY_NAMEActivate Master Rep;@MAPKEY_LABELMaster Rep;\
mapkey(continued) ~ Command `ProCmdViewVisTool` ;\
mapkey(continued) ~ Select `visual_dlg0` `RadioSelApplMgr`1  `simplified rep`;\
mapkey(continued) ~ Activate `visual_dlg0` `Table`2  `master rep` `name_column`;\
mapkey(continued) ~ Activate `visual_dlg0` `CloseBtn`;