techFindWaveguideDefByLP
techFindWaveguideDefByLP(
d_techFileId
tx_layer | (tx_layer tx_purpose)
)
=> d_waveguideDefId / nil
Description
(Virtuoso Photonics Option) Returns the database ID of the waveguideDef object defined for the specified layer-purpose pair (LPP) in the specified technology database.
Arguments
|
d_techFileId
|
The database ID of the technology database to be searched.
|
|
tx_layer | (tx_layer tx_purpose)
|
|
|
The layer or LPP of the waveguideDef object. If the purpose is not specified or is any, the function searches for the waveguideDef object with the given layer and the all purpose. If the search fails, it searches for a waveguideDef object with the given layer and the drawing purpose.
|
Value Returned
|
d_waveguideDefId
|
The database ID of the waveguideDef object.
|
|
nil
|
A waveguideDef object could not be found, possibly because it has not been defined for the specified LPP in the technology database.
|
Example
techFindWaveguideDefByLP(tf list("wgLayer" "drawing"))
Finds the waveguideDef object in the tf technology database for the wgLayer/drawing LPP.
Return to top