我也有这样的问题,第一次点按钮,启动函数,没有右键菜单,再点一次按钮就有了。解决方法是首先把allegro的模式即applicaiton mode设置为None- if( axlVersion('version)>=15.7 then
- axlShell("noappmode")
- )
复制代码 解决方法参考的是cadence官方论坛
问题的网址是:https://community.cadence.com/cadence_technology_forums/pcb-design/f/pcb-editor-skill/15999/axluipopupdefine-axluipopupset/70397#70397
#1
The example you give can run successfully without any problem just in the Application mode "NONE" of Allegro 16.3. And in other three Application Modes (Genaral Edit/ Placement Edit/ Etch Edit) the PopupMenu won't display when we run the command "showElement " the first time. But after we select anything on the board, we can see the PopupMenu displayed again. Can you tell me how to display the PopupMenu when we run the command "showElement " the first time ?? Thanks a lot ! #2 for Allegro version higher than 15.7, we usually "force" allegro into Application mode "NONE" (if allegroVersion>15.7 then
axlShell("noappmode")
) #3 After we force allegro into Application mode "NONE",it work very well. Thank you for your suggestion!
|