Skip to content

FEATURE: Set LayoutObjType of InstArray to CELL_INSTANCE #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading