Skip to content

Commit

Permalink
FIX: generic empty initial library (#5464)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorompi authored Dec 9, 2024
1 parent 30f8c9e commit c86f8ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ansys/aedt/core/modeler/circuits/primitives_circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def create_component(
name : str, optional
Name of the instance. The default is ``None.``
component_library : str, optional
Name of the component library. The default is ``"Resistors"``.
Name of the component library. The default is ``""``.
component_name : str, optional
Name of component in the library. The default is ``"RES"``.
location : list of float, optional
Expand Down Expand Up @@ -988,13 +988,13 @@ def create_symbol(self, name, pins):
return True

@pyaedt_function_handler()
def enable_use_instance_name(self, component_library="Resistors", component_name="RES_"):
def enable_use_instance_name(self, component_library="", component_name="RES_"):
"""Enable the use of the instance name.
Parameters
----------
component_library : str, optional
Name of the component library. The default is ``"Resistors"``.
Name of the component library. The default is ``""``.
component_name : str, optional
Name of the component. The default is ``"RES_"``.
Expand Down

0 comments on commit c86f8ef

Please sign in to comment.