-
Notifications
You must be signed in to change notification settings - Fork 163
Primitive functions #739
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
Primitive functions #739
Conversation
# Conflicts: # _unittest/test_00_EDB.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM. Maybe I would only change the method name
pyaedt/edb_core/layout.py
Outdated
@@ -536,6 +536,43 @@ def create_polygon(self, main_shape, layer_name, voids=[], net_name=""): | |||
self._primitives_by_layer[layer_name] = [polygon] | |||
return polygon | |||
|
|||
@aedt_exception_handler | |||
def get_primitive(self, net_name=None, layer_name=None, prim_type=None, is_void=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can rename the method get_primitives since it is returning a list of primitives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
No description provided.