import_gds_3d#
- Icepak.import_gds_3d(gds_file, gds_number, unit='um', import_method=1)[source]#
Import a GDSII file.
- Parameters:
- gds_file
str
Path to the GDS file.
- gds_number
dict
Dictionary keys are GDS layer numbers, and the value is a tuple with the thickness and elevation.
- unit
str
,optional
Length unit values. The default is
"um"
.- import_method
integer
,optional
GDSII import method. The default is
1
. Options are:0
for script.1
for Parasolid.
- gds_file
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oEditor.ImportGDSII
Examples
Import a GDS file in an HFSS 3D project.
>>> gds_path = r"C: emp\gds1.gds" >>> from pyaedt import Hfss >>> hfss = Hfss() >>> gds_number = {7: (100, 10), 9: (110, 5)} >>> hfss.import_gds_3d(gds_path, gds_number, unit="um", import_method=1)