phoTechIsModePropLocalOnly
phoTechIsModePropLocalOnly(
d_tech
t_waveguideDefName
)
=> t / nil
Description
(ICADVM18.1 Photonics Only) Retrieves the localOnly flag of the modeProp table for the specified waveguideDef. The table is searched only in the local technology database.
Value Returned
|
The |
Example
; "hier_top" references "hier_modeProp"
hier_top~>refs~>name
> ("hier_modeProp")
; load oneline.txt as a local only modeProp table phoTechLoadModePropDataTable(hier_top "oneline.txt"
?waveguideDefName "SiN Waveguide"
?overwrite t
?localOnly t)
> t
phoTechIsModePropLocalOnly(hier_top "SiN Waveguide")
> t
; hier_top only has data for mode "TE"
phoTechGetModePropDataTableParamValues(hier_top "SiN Waveguide" 'mode)
> ("TE")
; hier_modeProp has data for modes "TE" and "TM"
phoTechGetModePropDataTableParamValues(hier_modeProp "SiN Waveguide" 'mode)
> ("TE" "TM")
; re-merge hier_modeProp table by setting localOnly to nil phoTechLoadModePropDataTable(hier_top "oneline.txt"
?waveguideDefName "SiN Waveguide"
?overwrite t
?localOnly nil)
> t
phoTechIsModePropLocalOnly(hier_top "SiN Waveguide")
> nil
; hier_top still has data only for the "TE" mode, ; but with localOnly=nil, all getter APIs merge in the "TM" data ; from hier_modeProp.
phoTechGetModePropDataTableParamValues(hier_top "SiN Waveguide" 'mode)
> ("TE" "TM")
Related Topics
Return to top