Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

mapkey to append or add relations in a part

healre

New member
Looking for the correct syntax to append relations-add more relations to a model using a mapkey.
This was done in WF5 but no longer works in Creo2.
In WF5 we used to used the syntax:
mapkey appi ~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_util_pref`;\
mapkey(continued) ~ Input `preferences` `InputOpt` `new_relation_ui`;\
mapkey(continued) ~ Update `preferences` `InputOpt` `new_relation_ui`;\
mapkey(continued) ~ FocusOut `preferences` `InputOpt`;~ Open `preferences` `EditPanel`;\
mapkey(continued) ~ Close `preferences` `EditPanel`;~ Select `preferences` `EditPanel`1 `no`;\
mapkey(continued) ~ Activate `preferences` `AddOpt`;~ FocusOut `preferences` `InputOpt`;\
mapkey(continued) ~ Activate `preferences` `ApplySave`;~ FocusOut `preferences` `InputOpt`;\
mapkey(continued) ~ Activate `preferences` `Close`;\
mapkey(continued) ~ Select `main_dlg_cur` `MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_rels`;#ADD;\
mapkey(continued) /******************************************************;\
mapkey(continued) /* The information contained in the following relations;\

and then numerous relations followed.

How can you append relations (not copy over the existing relations) to the existing relation using a mapkey?
 

Sponsor

Articles From 3DCAD World

Back
Top