Cadence Skill 论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 108|回复: 0

帮忙看下怎么改这个程序

[复制链接]
发表于 2025-1-16 16:24:57 | 显示全部楼层 |阅读模式
axlCmdRegister("quick_textset" 'textset1)
defun( textset1()
          case(car(axlDBGetDesignUnits())
                                 ("mils"  a = 1)
                                       ("millimeters" a = 0.0254 )
                                )
          Text_need = '("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16")
          foreach(text_block Text_need
                                                TextBlock1 = axlGetParam("paramTextBlock:" text_block)
                                                block_pl = atoi(text_block)
                                                TextBlock1->width = text_block*a
                                                TextBlock1->height = text_block*a
                                                TextBlock1->lineSpace = 5*a
                                                TextBlock1->photoWidth = 5*a
                                                TextBlock1->charSpace = 5*a
                                                axlSetParam(TextBlock)
                                                )
                        )
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-3-1 02:12 , Processed in 0.131267 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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