C++ | Python |
---|---|
Cmaxwell::Ccoating | Ccoating |
Coating description.
Inherits from
Methods
Name | Description |
---|---|
setName | Sets coating name. |
getName | Gets coating name. |
setState | Enables/disables the coating. |
getState | Gets whether the coating is enabled. |
getReflectance | Gets a reference of the Cmaxwell::Creflectance of this coating. |
setThickness | Sets the thickness of the coating. |
getThickness | Gets the thickness of the coating. |
setActiveThickness | Sets the active thickness of the coating. |
getActiveThickness | Gets the active thickness of the coating. |
setThicknessRange | Sets the thickness range. |
getThicknessRange | Gets the thickness range. |
Inherited methods
Name | Description |
---|---|
isNull | Checks whether the object is null. |
setName
Sets coating name.
Language | Syntax |
---|---|
C++ | byte setName( const char* pName ) |
Python | int setName( str name ) |
Return value
0 = Error getting coating name.
1 = Success.
getName
Gets coating name.
Language | Syntax |
---|---|
C++ | byte getName( char** pName ) |
Python | str getName() |
Return Value
C++
0 = Error getting coating name.
1 = Success
Python
Coating name.