set repetition on subpattern
This commit is contained in:
parent
99ded5c113
commit
b98553a770
1 changed files with 2 additions and 1 deletions
|
|
@ -376,7 +376,8 @@ def _ref_to_subpat(element: Union[gdsii.elements.SRef,
|
|||
offset=offset,
|
||||
rotation=rotation,
|
||||
scale=scale,
|
||||
mirrored=(mirror_across_x, False))
|
||||
mirrored=(mirror_across_x, False),
|
||||
repetition=repetition)
|
||||
subpat.identifier = (element.struct_name,)
|
||||
return subpat
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue