File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 442442
443443
444444def component (
445- cell_name : str , technology : typing .Optional [pf .Technology ] = None , tidy3d_model_kwargs : pft .kwargs_for (pf .Tidy3DModel ) = {}
445+ cell_name : str ,
446+ technology : typing .Optional [pf .Technology ] = None ,
447+ tidy3d_model_kwargs : pft .kwargs_for (pf .Tidy3DModel ) = {},
446448) -> pf .Component :
447449 """Load a component from the default PDK library.
448450
@@ -483,6 +485,11 @@ def component(
483485 if thumbnail :
484486 c .properties .__thumbnail__ = thumbnail
485487
488+ for layer , labels in c .labels .items ():
489+ for label in labels :
490+ if "lumerical" in label .text .lower ():
491+ c .remove (label , layer = layer )
492+
486493 # Add ports
487494 z = technology .parametric_kwargs .get ("top_oxide_thickness" , - 1.0 )
488495 if z > 0 :
You can’t perform that action at this time.
0 commit comments