def instantiate_schematic(self, lib_name, content_list, lib_path=''):
# type: (str, Sequence[Any], str) -> None
"""Create the given schematic contents in CAD database.
NOTE: this is BAG's internal method. TO create schematics, call batch_schematic() instead.
Parameters
----------
lib_name : str
name of the new library to put the schematic instances.
content_list : Sequence[Any]
list of schematics to create.
lib_path : str
the path to create the library in. If empty, use default location.
"""
if self.impl_db is None:
raise Exception('BAG Server is not set up.')
self.impl_db.instantiate_schematic(lib_name, content_list, lib_path=lib_path)
评论列表
文章目录