Please enable JavaScript to view this site.

Knowledge Base

A Python function that passes string(s) to the Script Workspace of an active Lumerical session opened via the Python interoperability API.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

Supported OS: Windows, Linux

 

Syntax

Description

lumapi.putString(handle, "string_name", "text")

When executed in Python, this function will pass string(s) to a Lumerical session through an active handle. It also returns the number of string characters in the "text" field, i.e. 4 in this case.

 

Example

See lumapi.open

 

See Also

lumapi.open

Copyright Lumerical Inc. | Privacy | Site Map