Alle Unterverteiler heissen vom Text her immer +<Verteilername> und nicht -<Verteilername>
This commit is contained in:
+1
-1
@@ -429,7 +429,7 @@ def get_subdistributor_positions_iter(dxf_path, dist2sensors: dict) -> dict:
|
||||
if entity_layer != layer_name:
|
||||
continue
|
||||
for distname in all_distributors:
|
||||
if f"-{distname}" in entity_text:
|
||||
if f"+{distname}" in entity_text:
|
||||
ret[distname] = (round(insert_point[0], 1), round(insert_point[1], 1))
|
||||
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user