combining some mapkeys
HI,
I am setting up mapkey to create a named view. I can make the mapkey for creating the thumbnail view easily. See the code below.
mapkey tn @MAPKEY_NAMEcreated the thumbnail named view for IFS thumbnail;\
mapkey(continued) @MAPKEY_LABELthumbnail view;~ Command `ProCmdViewVisTool`
mapkey(continued) ~ Select `visual_dlg0` `RadioSelApplMgr` 1 `orientation`;\
mapkey(continued) ~ Activate `visual_dlg0` `ZoneNmCreate`;\
mapkey(continued) ~ Update `visual_dlg0` `Table_INPUT` `thumbnail`;\
mapkey(continued) ~ Activate `visual_dlg0` `Table_INPUT`;~ Activate `visual_dlg0` `CloseBtn`;
Now what I would like to do is set up this mapkey so that if you use it again, it saves the view. I have done a little bit with combining mapkeys to get them to work in different contexts, but that works because the one not being used simply gets skipped over in the wrong context. If I were to make another mapkey to save the current view and then smoosh them together, the first one would start working and screws things up. Is there a way to check the named views and if "thumbnail" already exists, then it saves the view, and if it doesn't it creates it?
Thanks,
Brandon
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

