set repetition on subpattern

This commit is contained in:
Jan Petykiewicz 2020-08-12 21:42:57 -07:00
parent 99ded5c113
commit b98553a770

View File

@ -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