Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
setNameSets coating name.
getNameGets coating name.
setState

Enables/disables the coating.

getStateGets whether the coating is enabled.
getReflectanceGets a reference of the Cmaxwell::Creflectance of this coating.
setThicknessSets the thickness of the coating.
getThicknessGets the thickness of the coating.
setActiveThicknessSets the active thickness of the coating.
getActiveThicknessGets the active thickness of the coating.
setThicknessRangeSets the thickness range.
getThicknessRangeGets the thickness range.

...

0 = Error getting coating name.

1 = Success.

Python

Coating name.

Anchor
setstate
setstate

...

0 = Error getting coating enabled state.

1 = Success.

Python

Coating enabled state.

...

0 = Error getting thickness.

1 = Success.

Python

Coating thickness.

Anchor
setactivethickness
setactivethickness

...

0 = Error getting active thickness.

1 = Success.

Python

Coating active thickness.

Anchor
setthicknessrange
setthicknessrange

setThicknessRange

Sets the thickness range of the coating.

LanguageSyntax
C++byte setThicknessRange( real min, real max )
Pythonint setThicknessRange( float min, float max )

Return value

0 = Error setting thickness range.

1 = Success.

Anchor
getthicknessrange
getthicknessrange

getThicknessRange

Gets the active thickness of the coating.

LanguageSyntax
C++byte getThicknessRange( real& min, real& max )
Python(min,max) getThicknessRange()

Return Value

C++

0 = Error getting thickness range.

...

1 = Success.

Python

Tuple (min,max) containing thickness range.