Versions Compared

Key

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

...

CmaterialPointer.

Methods

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.

Inherited methods

NameDescription
isNullChecks whether the object is null.

...

LanguageSyntax
C++byte setName( const char* pName )
Pythonint setName( str name )

Return value

0 = Error getting coating name.

...

LanguageSyntax
C++byte setState( bool enabled )
Pythonint setState( bool enabled )

Return value

0 = Error enabling/disabling coating.

...

LanguageSyntax
C++byte setThickness( Cmultivalue::Cmap& map )
Pythonint setThickness( Cmap map )

Return value

0 = Error setting thickness.

...

LanguageSyntax
C++byte setActiveThickness( Cmultivalue::Cmap& map )
Pythonint setActiveThickness( Cmap map )

Return value

0 = Error setting active thickness.

...

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

Return value

0 = Error setting thickness range.

...

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

...

Tuple (min,max) containing thickness range.

 

...