create#

classmethod ComponentDef.create(db, comp_def_name, fp)#

Create a component definition in a given database.

Parameters:
dbDatabase

Database to create the component definition in.

comp_def_namestr

Name of the component definition to create.

fpCell

Footprint cell of the component definition, optional

Returns:
ComponentDef

Component definition created.