phoDrawMMISymbol
phoDrawMMISymbol(
d_cellViewId
n_magnification
?startPortName s_PortName
?startPortDirection s_direction
?startPortNum i_num
?endPortName s_PortName
?endPortDirection s_direction
?endPortNum
)
=> t / nil
Description
(Virtuoso Photonics Option) Draws a multimode interferometer symbol. You can define the number of ports on both sides.
Arguments
|
d_cellViewId
|
Database ID of a cellview.
|
|
n_magnification
|
Database magnification value to set on the instance.
Default: 1.0
|
|
?startPortName s_PortName
|
|
|
Name of the starting port. The default is "optS".
|
|
?startPortDirection s_direction
|
|
|
Direction of the starting port. The default is "inputOutput".
|
|
?startPortNum i_num
|
|
|
Number of the starting port. The default is "1".
|
|
?endPortName s_PortName
|
|
|
Name of the ending port. The default is "optE".
|
|
?endPortDirection s_direction
|
|
|
Direction of the ending port. The default is "inputOutput".
|
|
?endPortNum i_num
|
|
|
Number of the ending port. The default is "2".
|
Return Value
|
t
|
Symbol for the multimode interferometer is generated.
|
|
nil
|
Symbol is not generated.
|
Example
cv = geGetEditCellView()
phoDrawMMISymbol(cv 1.0)
cv = geGetEditCellView()
phoDrawMMISymbol(cv 1.0 ?startPortNum 2 ?endPortNum 3)
Related Topics
Photonics Symbol Generator Functions
Symbol Pcell Example
Return to top