|
EDA365欢迎您!
您需要 登录 才可以下载或查看,没有帐号?注册
x
Create a Component object
+ z3 s/ y) o k* @/ _' v& Z3 e0 R4 b4 d
Component = PCBServer.PCBObjectFactory(eComponentObject, eNoDimension, eCreate_Default)7 i3 s& I% a$ ]# S
Component.X = MilsToCoord(3000)
1 c( X+ U* a6 l/ l; O' Q! H Component.Y = MilsToCoord(5000) B6 j; g% g4 W2 Q. U+ |' M# o
[color=inherit !important]
9 r# `+ X8 ]: y5 x) s ? Component.Library ="DI-PCB-1.7.LIB"
' `- s1 l3 g/ V% [8 X# Y/ A0 J[color=inherit !important] ? Component.Value = "LED1"9 o1 s6 I( G7 A$ ^; W, J
? Component.comment = "LED1010-YG"
; x$ R ~1 g* |% M1 W* ^+ e' F! _* ^7 h% { @
Component.Layer = eTopLayer
7 e1 j% X) U# s- s( V, K: n; P Board.AddPCBObject(Component) k* u2 s* G5 ?$ p( Y5 Z3 d
[color=inherit !important]$ d. o7 ]& Y- g6 A
& r# I' V- |/ L, D& g
I would like to ask how to call Library and Footprint ?- e1 I5 k' `4 \2 v+ c) R
, B" U) u5 b6 o) K
|
|