We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 917d18f + 7aa6ca5 commit 5389df7Copy full SHA for 5389df7
src/ansys/geometry/core/designer/component.py
@@ -279,9 +279,7 @@ def set_name(
279
) -> None:
280
"""Set the name of the component."""
281
self._grpc_client.log.debug(f"Renaming component {self.id} from '{self.name}' to '{name}'.")
282
- self._component_stub.SetName(
283
- SetObjectNameRequest(id=self._grpc_id, name=name)
284
- )
+ self._component_stub.SetName(SetObjectNameRequest(id=self._grpc_id, name=name))
285
self._name = name
286
287
@property
0 commit comments