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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

MAp key to create a rep

pgunasekaran
3-Newcomer

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
TomU
23-Emerald IV
(To:pgunasekaran)

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`;
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags