|
本帖最后由 XYX365 于 2012-5-8 10:28 编辑
lam007 发表于 2012-5-8 10:08
(fprintf BOM "%s,%s,%s,%d\n" device->part_number device->name device->type (length device->instances ...
device 有下列幾種:
Attribute Name, Type, Description
children, l_dbid/nil, List of figures other than pins making up shape
instances, l_dbid, Symbol instances
name, string, Name of symbol definition
objType, string, Type of object, in this case "symdef"
parent, dbid, Design
pins, l_dbid/nil, List of pins
type, string, Symbol type is one of the following: PACKAGE,
MECHANICAL, FORMAT, SHAPE, or DRAFTING
如果要取REFDES 和part_number 的話,就要另外判斷及讀取其它資料
你的part_number 是指Board file 裡面的那一層?
|
|