allow using a string for the layer
Can't use it in gdsii, but no reason to forbit it in masque...
This commit is contained in:
parent
247b31a9d6
commit
8302286a7a
4 changed files with 10 additions and 6 deletions
|
|
@ -174,7 +174,7 @@ class Shape(metaclass=ABCMeta):
|
|||
@property
|
||||
def layer(self) -> layer_t:
|
||||
"""
|
||||
Layer number (int or tuple of ints)
|
||||
Layer number or name (int, tuple of ints, or string)
|
||||
"""
|
||||
return self._layer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue