An interoperability command that opens a server session of selected Lumerical product via automation API. Once the session is opened, client product can call the server to execute arbitrary Lumerical script command(s) and execute them. Opened Lumerical session also allows to send and get variables from/to workspace.
Supported Product: FDTD, MODE, DEVICE, INTERCONNECT
When executed, this command will open a session of Device via the automation API.
The following code example opens Device as a server, sends local variable 'x' to Device workspace followed by a command to manipulate the variable and the retrieves the result before closing the session:
#Opend Device session
#Declare local variable x
#Send the local variable to Device workspace via API
#Send script command to Device via API andsquare the variable
#Get the variable from Device worksapace via API
#Close the session