From 092a67063b62c848dd98341bd21d1065ffbc1865 Mon Sep 17 00:00:00 2001 From: Samuelopez-ansys Date: Sat, 20 Apr 2024 10:58:38 +0200 Subject: [PATCH] Fix cname typo --- pyaedt/modeler/circuits/PrimitivesNexxim.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyaedt/modeler/circuits/PrimitivesNexxim.py b/pyaedt/modeler/circuits/PrimitivesNexxim.py index ea080cff015..9afab4409b8 100644 --- a/pyaedt/modeler/circuits/PrimitivesNexxim.py +++ b/pyaedt/modeler/circuits/PrimitivesNexxim.py @@ -681,12 +681,12 @@ def create_inductor(self, name=None, value=50, location=None, angle=0, use_insta return cmpid @pyaedt_function_handler(compname="name") - def create_capacitor(self, cname=None, value=50, location=None, angle=0, use_instance_id_netlist=False): + def create_capacitor(self, name=None, value=50, location=None, angle=0, use_instance_id_netlist=False): """Create a capacitor. Parameters ---------- - cname : str, optional + name : str, optional Name of the capacitor. The default is ``None``. value : float, optional Capacitor value. The default is ``50``. @@ -713,7 +713,7 @@ def create_capacitor(self, cname=None, value=50, location=None, angle=0, use_ins location = [] cmpid = self.create_component( - cname, + name, component_library="Capacitors", component_name="CAP_", location=location,