optical_function(a_string : string)    (real number)

Navigation:  User guide > OLE automation > Properties >

optical_function(a_string : string)    (real number)

Previous pageReturn to chapter overviewNext page

Returns the value of the optical function defined by the text passed in the string a_string. If the optical function cannot be evaluated a value of 0 is returned.

 

Example:

x1 = wcd.optical_function("SiN(n at 400 nm)")

 

Setting this property has no effect.