Skip to content

Commit

Permalink
FEATURE: Set LayoutObjType of InstArray to CELL_INSTANCE (#397)
Browse files Browse the repository at this point in the history
(cherry picked from commit afe3bad)
  • Loading branch information
chenchienjacklin authored and drewm102 committed Jul 29, 2024
1 parent ca299c0 commit 201e821
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ classifiers = [

# FIXME: add ansys-api-edb version
dependencies = [
"ansys-api-edb==1.0.3",
"ansys-api-edb==1.0.4",
"protobuf>=3.19.3,<4",
"grpcio>=1.44.0"
]
Expand Down
1 change: 0 additions & 1 deletion src/ansys/edb/core/edb_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class LayoutObjType(Enum):
TERMINAL = layout_obj_pb2.TERM
TERMINAL_INSTANCE = layout_obj_pb2.TERM_INST
CELL_INSTANCE = layout_obj_pb2.CELL_INST
INST_ARRAY = layout_obj_pb2.INST_ARRAY
LAYER = layout_obj_pb2.LAYER
NET = layout_obj_pb2.NET
PADSTACK = layout_obj_pb2.PADSTACK
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/edb/core/hierarchy/inst_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class InstArray(cell_instance.CellInstance):
"""Represents an instance array object."""

__stub: InstArrayServiceStub = StubAccessor(StubType.inst_array)
layout_obj_type = LayoutObjType.INST_ARRAY
layout_obj_type = LayoutObjType.CELL_INSTANCE

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

0 comments on commit 201e821

Please sign in to comment.