GeometryExitedError Traceback (most recent call last) File pyansys.py:4 1 #%% 2 # Plotter for geometry 3 plotter = GeometryPlotter() ----> 4 plotter.show(geom) File lib\site-packages\ansys\geometry\core\plotting\plotter.py:391, in GeometryPlotter.show(self, plotting_object, screenshot, **plotting_options) 378 """Show the plotter. 379 380 Parameters (...) 388 you are using. 389 """ 390 if plotting_object is not None: --> 391 self.plot(plotting_object, **plotting_options) 392 self._backend.show(screenshot=screenshot, **plotting_options) File lib\site-packages\ansys\geometry\core\plotting\plotter.py:356, in GeometryPlotter.plot(self, plottable_object, name_filter, **plotting_options) 354 self.add_body(plottable_object, merge_bodies, **plotting_options) 355 elif isinstance(plottable_object, Design) or isinstance(object, Component): --> 356 self.add_component(plottable_object, merge_components, merge_bodies, **plotting_options) 357 elif ( 358 isinstance(plottable_object, List) 359 and plottable_object != [] 360 and isinstance(plottable_object[0], pv.PolyData) 361 ): 362 self.add_sketch_polydata(plottable_object, **plotting_options) File lib\site-packages\ansys\geometry\core\plotting\plotter.py:255, in GeometryPlotter.add_component(self, component, merge_component, merge_bodies, **plotting_options) 253 # Use the default PyAnsys Geometry add_mesh arguments 254 self._backend.pv_interface.set_add_mesh_defaults(plotting_options) --> 255 dataset = component.tessellate(merge_component=merge_component, merge_bodies=merge_bodies) 256 component_polydata = MeshObjectPlot(component, dataset) 257 self.plot(component_polydata, **plotting_options) File lib\site-packages\ansys\geometry\core\designer\component.py:1350, in Component.tessellate(self, merge_component, merge_bodies) 1348 if not comp.is_alive: 1349 continue -> 1350 blocks_list.append(comp.tessellate(merge_bodies=merge_bodies)) 1352 # Transform the list of MultiBlock objects into a single MultiBlock 1353 blocks = pv.MultiBlock(blocks_list) File lib\site-packages\ansys\geometry\core\designer\component.py:1341, in Component.tessellate(self, merge_component, merge_bodies) 1338 import pyvista as pv 1340 # Tessellate the bodies in this component -> 1341 datasets = [body.tessellate(merge_bodies) for body in self.bodies] 1343 blocks_list = [pv.MultiBlock(datasets)] 1345 # Now, go recursively inside its subcomponents (with no arguments) and 1346 # merge the PolyData obtained into our blocks File lib\site-packages\ansys\geometry\core\designer\component.py:1341, in (.0) 1338 import pyvista as pv 1340 # Tessellate the bodies in this component -> 1341 datasets = [body.tessellate(merge_bodies) for body in self.bodies] 1343 blocks_list = [pv.MultiBlock(datasets)] 1345 # Now, go recursively inside its subcomponents (with no arguments) and 1346 # merge the PolyData obtained into our blocks File lib\site-packages\ansys\geometry\core\misc\checks.py:82, in ensure_design_is_active..wrapper(self, *args, **kwargs) 79 design._activate() 81 # Finally, call method ---> 82 return method(self, *args, **kwargs) File lib\site-packages\ansys\geometry\core\designer\body.py:1408, in Body.tessellate(self, merge) 1404 @ensure_design_is_active 1405 def tessellate( # noqa: D102 1406 self, merge: Optional[bool] = False 1407 ) -> Union["PolyData", "MultiBlock"]: -> 1408 return self._template.tessellate(merge, self.parent_component.get_world_transform()) File lib\site-packages\ansys\geometry\core\errors.py:98, in protect_grpc..wrapper(*args, **kwargs) 96 out = func(*args, **kwargs) 97 except (_InactiveRpcError, _MultiThreadedRendezvous) as error: # pragma: no cover ---> 98 raise GeometryExitedError( 99 f"Geometry service connection terminated: {error.details()}" 100 ) from None 102 if threading.current_thread().__class__.__name__ == "_MainThread": 103 received_interrupt = bool(SIGINT_TRACKER) GeometryExitedError: Geometry service connection terminated: The given key was not present in the dictionary.