Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3672|回复: 1

[求助] done和cancel需要点两次才能结束skill

[复制链接]
发表于 2021-3-5 09:11:37 | 显示全部楼层 |阅读模式
本帖最后由 尼伯龙根之歌 于 2021-3-5 09:40 编辑

axlCmdRegister("as" 'aotuSpacing ?cmdType "interactive" ?doneCmd 'myDone ?cancelCmd 'myCancel)
procedure(aotuSpacing()
        mypopup = axlUIPopupDefine(nil list(
                (list "Done" 'myDone)
                (list "Cancel" 'myCancel)
        ))
        axlUIPopupSet(mypopup)
        notdone = t
        axlClearSelSet()
        while(notdone
                axlSetFindFilter(?enabled "CLINESEGS" ?onButtons "CLINESEGS")
                box = axlEnterBox()
                axlSingleSelectBox(box)
        )
)

procedure(myDone()
        notdone = nil
        axlFinishEnterFun()
)

procedure(myCancel()
        notdone = nil
        axlCancelEnterFun()
)
1.png
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|网站地图|Cadence Skill 论坛 ( 蜀ICP备13024417号 )

GMT+8, 2024-4-20 22:18 , Processed in 0.153531 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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