在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 1442|回复: 3

[讨论] 原理图中,选择的net自动生成pin

[复制链接]
发表于 2022-10-12 19:18:50 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

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

x
procedure(cstAutoCreatePins(ok theListBox)
   let( (xCo yCo inputCVId pointList)
       when(ok
           pointList=enterPoint(?prompts list("Enter point for firstpin"))
           unless(pointList ok=nil)
       )
       if( ok then printf("Creation of pins: \n")
           inputCVId = dbOpenCellViewByType("basic" "iopin""symbol" "" 'r)
           xCo = xCoord(pointList)
           yCo = yCoord(pointList)
           foreach(choice theListBox->value
                 sprintf(namePin "%s"choice)
                schCreatePin(geGetEditCellView() inputCVId namePin"inputOutput" nil xCo:yCo "R0")
                 yCo = yCo + 0.25   
                 printf("Pin %s\n"namePin)         
           ) ; foreach
       else printf("Cancelled automated pins creation.")
       ) ; if
    )
) ; procedure
上面是实现该功能的代码,但是不会用,提示需要两个参数??

 楼主| 发表于 2022-10-12 20:02:42 | 显示全部楼层
图片.png
 楼主| 发表于 2022-10-12 22:04:09 | 显示全部楼层
或者说有没有在原理图中选中net后可以直接生成pin的办法
发表于 2022-10-13 15:44:00 | 显示全部楼层
本帖最后由 603012358 于 2022-10-13 16:01 编辑

11111111111111111111111111111
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

×

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-6-16 16:10 , Processed in 0.022827 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表