2012-03-05 22:49:49 +00:00
|
|
|
pcb = pcbnew.GetBoard()
|
|
|
|
|
2012-03-17 17:30:03 +00:00
|
|
|
m = pcb.m_Modules
|
2012-03-05 22:49:49 +00:00
|
|
|
|
|
|
|
while m:
|
|
|
|
print m.GetPosition()
|
2012-03-17 17:30:03 +00:00
|
|
|
p = m.m_Pads
|
2012-03-05 22:49:49 +00:00
|
|
|
while p:
|
|
|
|
print "p=>",p.GetPosition(),p.GetPadName()
|
|
|
|
print p.GetPosition()
|
|
|
|
p = p.Next()
|
|
|
|
m = m.Next()
|
|
|
|
|
|
|
|
|