create_new_component_from_symbol#

NexximComponents.create_new_component_from_symbol(name, pins, time_stamp=1591858313, description='', refbase='x', parameters=None, values=None, gref='')[source]#

Create a component from a symbol.

Parameters:
namestr

Name of the symbol.

pinslist

List of pin names.

time_stampint, optional

UTC time stamp.

descriptionstr, optional

Component description.

refbasestr, optional

Reference base. The default is "U".

parameterslist

List of parameters. If not provided the default is None, in which case an empty list is set.

valueslist

List of parameter values. If not provided the default is None, in which case an empty list is set.

grefstr, optional

Global Reference

Returns:
bool

True when successful, False when failed.

References

>>> oModelManager.Add
>>> oComponentManager.Add