phoDrawDCSymbol
phoDrawDCSymbol(
d_cellViewId
n_magnification
?addPortName s_PortName
?addPortDirection s_direction
?dropPortName s_PortName
?dropPortDirection s_direction
?inPortName s_PortName
?inPortDirection s_direction
?thruPortName s_PortName
?thruPortDirection s_direction
)
=> t / nil
Description
(Virtuoso Photonics Option) Draws a directional coupler symbol.
Arguments
|
d_cellViewId
|
Database ID of a cellview.
|
|
n_magnification
|
Database magnification value to set on the instance.
Default: 1.0
|
|
?addPortName s_PortName
|
|
|
Name of the add port. The default is "add".
|
|
?addPortDirection s_direction
|
|
|
Direction of the add port. The default is "inputOutput".
|
|
?dropPortName s_PortName
|
|
|
Name of the drop port. The default is "drop".
|
|
?dropPortDirection s_direction
|
|
|
Direction of the drop port. The default is "inputOutput".
|
|
?inPortName s_PortName
|
|
|
Name of the in port. The default is "in".
|
|
?inPortDirection s_direction
|
|
|
Direction of the in port. The default is "inputOutput".
|
|
?thruPortName s_PortName
|
|
|
Name of the thru port. The default is "thru".
|
|
?thruPortDirection s_direction
|
|
|
Direction of the thru port. The default is "inputOutput".
|
Return Value
|
t
|
Symbol for the directional coupler is generated.
|
|
nil
|
Symbol is not generated.
|
Example
cv = geGetEditCellView()
phoDrawDCSymbol(cv 1.0)
Related Topics
Photonics Symbol Generator Functions
Symbol Pcell Example
Return to top