找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 1082|回复: 3
打印 上一主题 下一主题

求axlTriggerSet用法

[复制链接]

44

主题

121

帖子

228

积分

三级会员(30)

Rank: 3Rank: 3Rank: 3

积分
228
跳转到指定楼层
1#
发表于 2014-7-16 13:44 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
我用 axlUIMenuFind()axlUIMenuInsert() 命令写了自动添加菜单的 il 文档
虽在加载ilinit文件时运行成功,但之后又被加载allegro.men,菜单给还原了。无法实现自动添加菜单
我想知道axlTriggerSet用法,越祥越好。

下面是我找到的资料
添加菜单的几种方式:
MENU CUSTOMIZATION METHODS
Provide your own customization menu via CDS_SITE. Replace the Cadence provided menu (.men file) with your own.

Advantages: Relatively easy and no Skill programming required.

Disadvantages: For new releases need to merge your menu changes with new Cadence menus. May need to modify multiple menus
Overload your menu customizations on Cadence menus via Skill axlUIMenuRegister.

Advantages: Relatively easy with minimal Skill programming. Depending on your site's additions may be immune to many Cadence menu changes.

Disadvantages: Cannot delete Cadence menu items or restrict your changes to a one Cadence menu.
Register a axl menu Trigger notification via axlTriggerSet.

Advantages: Almost as much flexibility as overriding the default menu file including targeting specific menus.

Disadvantages: Need to examine your Skill code with new Cadence releases. Requires much more Skill programming knowledge.


Description

This allows you to register menu items to be loaded when Allegro loads a new menu. It is a combination of axlUIMenuFind and axlUIMenuInsert.

If more elaborate menu configuration is required consider calling axlTriggerSet directly.

我想知道axlTriggerSet用法,越祥越好。最好能帮我解决在allegro启动时,就自动添加菜单的方法,
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏1 支持!支持! 反对!反对!

7

主题

444

帖子

4989

积分

EDA365版主(50)

Rank: 5

积分
4989
2#
发表于 2014-7-16 16:03 | 只看该作者

44

主题

121

帖子

228

积分

三级会员(30)

Rank: 3Rank: 3Rank: 3

积分
228
3#
 楼主| 发表于 2014-7-17 13:54 | 只看该作者
本帖最后由 pallayout 于 2014-7-17 14:02 编辑

   (axlTriggerSet ‘menu ‘loadMyMenu)
调试通过,就是不知怎么调用,没有看到菜单
Function loadMyMenu already registered for 'menu trigger

44

主题

121

帖子

228

积分

三级会员(30)

Rank: 3Rank: 3Rank: 3

积分
228
4#
 楼主| 发表于 2014-7-17 14:33 | 只看该作者
调试通过了,谢谢betamelody,您是我的老师
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2025-2-24 05:32 , Processed in 0.055835 second(s), 31 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表