|
楼主 |
发表于 2013-7-11 16:17:39
|
显示全部楼层
本帖最后由 w200210024 于 2013-7-11 16:20 编辑
Hi,XYX365
非常感谢,我按照你的提示,已经加上去了,如下代码:
;;
sRef = dbid_symbol->refdes
iRotation = dbid_symbol->rotation
bMirror = dbid_symbol->mirrored
lXY = dbid_symbol->xy
if(bMirror then
sLayer = "REF DES/SILKSCREEN_BOTTOM"
else
sLayer = "REF DES/SILKSCREEN_TOP"
)
;;
myorient = make_axlTextOrientatiion(?textBlock "3", ?rotation iRotation, ?mirrored bMirror, ?justify "center")
ret = axlDBCreateText(sRef, lXY, myorient, sLayer, dbid_symbol)
;;
还有个小问题就是, ?textBlock "3", 这里,要怎么查到位号误删之前的大小呢,这里的"3"是个常量,最好能查到没删之前的Block大小,这样加上去之后就比较和谐。
再次非常感谢你的提示。
|
|