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
hi,I have creat a mapkey in the 3D model,but when I work in the 2D model,the mapkeys do not work,
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
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.
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