Skip to content

Commit afe3bad

Browse files
FEATURE: Set LayoutObjType of InstArray to CELL_INSTANCE (#397)
1 parent 2ad0986 commit afe3bad

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626

2727
# FIXME: add ansys-api-edb version
2828
dependencies = [
29-
"ansys-api-edb==1.0.3",
29+
"ansys-api-edb==1.0.4",
3030
"protobuf>=3.19.3,<4",
3131
"grpcio>=1.44.0"
3232
]

src/ansys/edb/core/edb_defs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class LayoutObjType(Enum):
1515
TERMINAL = layout_obj_pb2.TERM
1616
TERMINAL_INSTANCE = layout_obj_pb2.TERM_INST
1717
CELL_INSTANCE = layout_obj_pb2.CELL_INST
18-
INST_ARRAY = layout_obj_pb2.INST_ARRAY
1918
LAYER = layout_obj_pb2.LAYER
2019
NET = layout_obj_pb2.NET
2120
PADSTACK = layout_obj_pb2.PADSTACK

src/ansys/edb/core/hierarchy/inst_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class InstArray(cell_instance.CellInstance):
1313
"""Represents an instance array object."""
1414

1515
__stub: InstArrayServiceStub = StubAccessor(StubType.inst_array)
16-
layout_obj_type = LayoutObjType.INST_ARRAY
16+
layout_obj_type = LayoutObjType.CELL_INSTANCE
1717

1818
@classmethod
1919
def create(cls, layout, name, ref, orig, xaxis, yaxis, xcount, ycount):

0 commit comments

Comments
 (0)