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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Why the Mapkeys can't work in the 2D model

bduncan
16-Pearl

Why the Mapkeys can't work in the 2D model

hi,I have creat a mapkey in the 3D model,but when I work in the 2D model,the mapkeys do not work,

4 REPLIES 4
StephenW
23-Emerald II
(To:bduncan)

They should work if the selections are the same.
It would help to find the problem if you include what you are doing with the mapkey and maybe include the text of the mapkey.

In the 3D model,add the below relation,and make two mapkes,one to control “NO”,another to control “YES”,then saving into the config.pro。Then go into the 2D model,but the mapkeys don't work.。See the video

if ZY==NO
STAGE_MARKERS_A='Trial'
STAGE_MARKERS_B=''
ENDIF

if ZY==YES
STAGE_MARKERS_A=''
STAGE_MARKERS_B='Positive'
ENDIF

 

tbraxton
22-Sapphire I
(To:bduncan)

As @StephenW has noted, you have not provided enough information to enable a meaningful reply. Your description of 2D model is ambiguous, are you referring to sketch mode or drawing mode with a reference to 2D model?

 

Multi-mode mapkeys are not straightforward to create. Are you attempting to use a mapkey created in part mode in drawing mode as well? If so, then you would need to create a multi-mode mapkey by recording the commands in both modes and then using a nested mapkey to call/execute both sets of commands.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

In the 3D model,add the below relation,and make two mapkes,one to control “NO”,another to control “YES”,then saving into the config.pro。Then go into the 2D model,but the mapkeys don't work.。See the video

if ZY==NO
STAGE_MARKERS_A='Trial'
STAGE_MARKERS_B=''
ENDIF

if ZY==YES
STAGE_MARKERS_A=''
STAGE_MARKERS_B='Positive'
ENDIF

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags