@@ -184,6 +184,7 @@ def _activate(self, called_after_design_creation: bool = False) -> None:
184184 self ._grpc_client .log .debug (f"Design { self .name } is activated." )
185185
186186 # TODO: allow for list of materials
187+ # https://github.com/ansys/pyansys-geometry/issues/1319
187188 @protect_grpc
188189 @check_input_types
189190 @ensure_design_is_active
@@ -196,6 +197,7 @@ def add_material(self, material: Material) -> None:
196197 Material to add.
197198 """
198199 # TODO: Add design id to the request
200+ # https://github.com/ansys/pyansys-geometry/issues/1319
199201 self ._materials_stub .AddToDocument (
200202 AddToDocumentRequest (
201203 material = GRPCMaterial (
@@ -827,8 +829,8 @@ def __repr__(self) -> str:
827829 def __read_existing_design (self ) -> None :
828830 """Read an existing ``Design`` located on the server."""
829831 #
830- # TODO: This might go out of sync with the _update_design_inplace method.
831- # Ensure that the two methods are in sync. Especially regarding cleanup.
832+ # This might go out of sync with the _update_design_inplace method.
833+ # Ensure that the two methods are in sync. Especially regarding cleanup.
832834 #
833835 # TODO: Not all features implemented yet. Status is as follows
834836 #
@@ -854,6 +856,7 @@ def __read_existing_design(self) -> None:
854856 # - [X] CoordinateSystems
855857 # - [ ] SharedTopology
856858 #
859+ # https://github.com/ansys/pyansys-geometry/issues/1319
857860 import time
858861
859862 start = time .time ()
@@ -920,10 +923,13 @@ def __read_existing_design(self) -> None:
920923 # TODO: Add support for more material properties...
921924 # - Need to add support for more MaterialPropertyTypes
922925 # - Need to add support for more Quantity units
926+ # https://github.com/ansys/pyansys-geometry/issues/1319
923927 try :
924928 mp_type = MaterialPropertyType .from_id (property .id )
925- except ValueError as err : # TODO: Errors coming from MaterialPropertyType.from_id
929+ except ValueError as err :
930+ # TODO: Errors coming from MaterialPropertyType.from_id
926931 # because of unsupported MaterialPropertyType entries...
932+ # https://github.com/ansys/pyansys-geometry/issues/1319
927933 self ._grpc_client .log .warning (
928934 f"Material property { property .display_name } of type { property .id } is not supported." # noqa : E501
929935 " Storing as string."
@@ -937,6 +943,7 @@ def __read_existing_design(self) -> None:
937943 UndefinedUnitError ,
938944 TypeError ,
939945 ) as err : # TODO: Errors coming from Quantity ctor because of unsupported units...
946+ # https://github.com/ansys/pyansys-geometry/issues/1319
940947 self ._grpc_client .log .warning (
941948 f"Material property { property .display_name } with units { property .units } is not fully supported." # noqa : E501
942949 " Storing value only as float."
@@ -971,8 +978,9 @@ def __read_existing_design(self) -> None:
971978
972979 # Set SharedTopology
973980 # TODO: Maybe just add it to Component or Part message
974- # - we're starting to iterate through all the Components too much
975- # TODO: Make sure design doesn't need edge case attention
981+ # we're starting to iterate through all the Components too much.
982+ # Make sure design doesn't need edge case attention
983+ # https://github.com/ansys/pyansys-geometry/issues/1319
976984 num_created_shared_topologies = 0
977985 for component_id , shared_topology_type in response .component_shared_topologies .items ():
978986 component = created_components .get (component_id )
@@ -1001,8 +1009,9 @@ def _update_design_inplace(self) -> None:
10011009 # Clear all the existing information
10021010 #
10031011 # TODO: This might go out of sync with the __read_existing_design method
1004- # if the latter is updated and this method is not. Ensure that
1005- # the two methods are in sync.
1012+ # if the latter is updated and this method is not. Ensure that
1013+ # the two methods are in sync.
1014+ # https://github.com/ansys/pyansys-geometry/issues/1319
10061015 #
10071016 self ._components = []
10081017 self ._bodies = []
0 commit comments