import_bom#

Components.import_bom(bom_file, delimiter=',', refdes_col=0, part_name_col=1, comp_type_col=2, value_col=3)[source]#

Load external BOM file.

Parameters:
bom_filestr

Full path to the BOM file, which is a delimited text file.

delimiterstr, optional

Value to use for the delimiter. The default is ",".

refdes_colint, optional

Column index of reference designator. The default is "0".

part_name_colint, optional

Column index of part name. The default is "1". Set to None if the column does not exist.

comp_type_colint, optional

Column index of component type. The default is "2".

value_colint, optional

Column index of value. The default is "3". Set to None if the column does not exist.

Returns:
bool