TA的每日心情 | 慵懒 2024-5-8 15:39 |
---|
签到天数: 112 天 [LV.6]常住居民II
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
请教各位大佬,我用了axlDBChangeText函数进行换层,但是点击完想要换层的text之后无反应,求指教!感谢!
- axlCmdRegister( "sst" 'test) ;Check if there is a ground via within 100 mil of the Signal via
- procedure( test()
- axlSetFindFilter(?enabled '(noall TEXT) ?onButtons '(TEXT))
- axlSelect()
- texts_list = axlGetSelSet()
-
-
- while(texts_list == nil
- axlClearSelSet()
- ;换层
- foreach(text_id texts_list
- text_content = text_id->text
- text_xy = text_id->xy
- text_layer = text_id->layer
- text_rotation = text_id->rotation
- text_mirror = text_id->isMirrored
- text_textblock = text_id->textBlock
- text_justify = text_id->justify
- text_orientation = make_axlTextOrientation(?textBlock text_textblock, ?rotation text_rotation, ?mirrored text_mirror, ?justify text_justify)
- axlDBChangeText(text_id,text_content,text_orientation,?layer "DISPLAY_BOTTOM")
- );end foreach
- );end while
- );end procedure
复制代码
|
|