Description Adds a new Sampled Coating to the associated FRED document.
Syntax id = AddSampledCoating ( cname, wavelength, refl, reflPhase, trans, transPhase )
Parameters id (Long) Identifier of the newly created Sampled Coating.
cname As String The name assigned to the new Sampled Coating.
wavelength As Double The first wavelength point for the Sampled Coating.
refl As Double The reflection power coefficient at wavelength.
reflPhase As Double The reflection coefficient phase, in degrees, at wavelength.
trans As Double The transmission power coefficient at wavelength.
transPhase As Double The transmission coefficient phase, in degrees, at wavelength.
Remarks This function adds a new sampled coating to the associated FRED document. If there is a problem the function sets an error and returns -1, without adding a Sampled Coating.
See Also DeleteSampledCoatingIthWavelength DeleteSampledCoatingWavelength GetSampledCoatingIthWavelength GetSampledCoatingWavelengthCount Examples
|