From 270b29cd82ff690699e217d422dddfb26ccf7a6b Mon Sep 17 00:00:00 2001 From: German Date: Fri, 22 Dec 2023 19:47:40 +0100 Subject: [PATCH] fixing wrong method reference --- src/ansys/mapdl/core/component.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ansys/mapdl/core/component.py b/src/ansys/mapdl/core/component.py index 7c1173e1d4..5023ef2751 100644 --- a/src/ansys/mapdl/core/component.py +++ b/src/ansys/mapdl/core/component.py @@ -273,7 +273,7 @@ def logger(self) -> "logging.Logger": def _comp(self) -> UNDERLYING_DICT: """Dictionary with components names and types.""" if self.__comp is None or self._update_always: - self.__comp = self._parse_cmlist() + self.__comp = self._mapdl._parse_cmlist() return self.__comp @_comp.setter @@ -308,7 +308,7 @@ def __getitem__(self, key: str) -> ITEMS_VALUES: f"The component named '{key}' does not exist in the MAPDL instance." ) - output = self._parse_cmlist_indiv(key, cmtype) + output = self._mapdl._parse_cmlist_indiv(key, cmtype) if forced_to_select: # Unselect to keep the state of the things as before calling this method. self._mapdl.cmsel("U", key)