Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

IDs and information for XSLANukei

XSLANukei

Attributes

  • ENGLISH NAME : NukeiShader
  • NAME : XSLANukei
  • INCLUDE : Mpreview
  • INCLUDE : Mbase
  • INCLUDE : Millum
  • INCLUDE : Massign
  • PATH : sla/description/xslanukei.res
  • PLUGIN : sla
  • MAXON online help (may not exist): XSLANUKEI

Elements

ID UI Name Type Parameters Cycle
SLA_NUKEI_SURFACE Surface LONG MATEDNOTEXT
SLA_NUKEI_SURFACE_1 Surface1
SLA_NUKEI_SURFACE_2 Surface2
SLA_NUKEI_SURFACE_BOTH Both
SLA_NUKEI_FUSING Fusing BOOL PARENTMSG
SLA_NUKEI_DIFFUSE_A DiffuseA BOOL PARENTMSG
SLA_NUKEI_SPECULAR1_A Specular1A BOOL PARENTMSG
SLA_NUKEI_SPECULAR2_A Specular2A BOOL PARENTMSG
SLA_NUKEI_SPECULAR3_A Specular3A BOOL PARENTMSG
SLA_NUKEI_REFLECTION_A ReflectionA BOOL PARENTMSG
SLA_NUKEI_ENVIRONMENT_A EnvironmentA BOOL PARENTMSG
SLA_NUKEI_AMBIENT_A AmbientA BOOL PARENTMSG
SLA_NUKEI_ROUGHNESS_A RoughnessA BOOL PARENTMSG
SLA_NUKEI_ANISOTROPY_A AnisotropyA BOOL PARENTMSG
SLA_NUKEI_ALPHA_A AlphaA BOOL PARENTMSG
SLA_NUKEI_DIFFUSE_B DiffuseB BOOL PARENTMSG
SLA_NUKEI_SPECULAR1_B Specular1B BOOL PARENTMSG
SLA_NUKEI_SPECULAR2_B Specular2B BOOL PARENTMSG
SLA_NUKEI_SPECULAR3_B Specular3B BOOL PARENTMSG
SLA_NUKEI_REFLECTION_B ReflectionB BOOL PARENTMSG
SLA_NUKEI_ENVIRONMENT_B EnvironmentB BOOL PARENTMSG
SLA_NUKEI_AMBIENT_B AmbientB BOOL PARENTMSG
SLA_NUKEI_ROUGHNESS_B RoughnessB BOOL PARENTMSG
SLA_NUKEI_ANISOTROPY_B AnisotropyB BOOL PARENTMSG
SLA_NUKEI_ALPHA_B AlphaB BOOL PARENTMSG
SLA_NUKEI_FUSER_TEXTURE Texture SHADERLINK  
SLA_NUKEI_FUSER_PROJECTION Projection LONG  
SLA_NUKEI_TEX_PROJECTION_SPHERICAL Spherical
SLA_NUKEI_TEX_PROJECTION_CYLINDRICAL Cylindrical
SLA_NUKEI_TEX_PROJECTION_FLAT Flat
SLA_NUKEI_TEX_PROJECTION_CUBIC Cubic
SLA_NUKEI_TEX_PROJECTION_FRONTAL Frontal
SLA_NUKEI_TEX_PROJECTION_SPATIAL Spatial
SLA_NUKEI_TEX_PROJECTION_UVW UVW
SLA_NUKEI_TEX_PROJECTION_SHRINKWRAP Shrink-Wrap
SLA_NUKEI_FUSER_OFFSET_X OffsetX REAL
UNIT PERCENT
STEP .1
SLA_NUKEI_FUSER_OFFSET_Y OffsetY REAL
UNIT PERCENT
STEP .1
SLA_NUKEI_FUSER_LENGTH_X LengthX REAL
UNIT PERCENT
STEP .1
SLA_NUKEI_FUSER_LENGTH_Y LengthY REAL
UNIT PERCENT
STEP .1
SLA_NUKEI_FUSER_TILES_X TilesX REAL STEP
SLA_NUKEI_FUSER_TILES_Y TilesY REAL STEP
SLA_NUKEI_FUSER_TILE Tile BOOL  
SLA_NUKEI_FUSER_SEAMLESS Seamless BOOL  
SLA_NUKEI_FUSER_POSITION Position VECTOR UNIT
SLA_NUKEI_FUSER_SIZE Size VECTOR UNIT
SLA_NUKEI_FUSER_ROTATION Rotation VECTOR UNIT
SLA_NUKEI_FUSER_PASTE_TAG PasteTag BUTTON  
SLA_NUKEI_FUSER_OVERRIDE_TIME OverrideTime BOOL  
SLA_NUKEI_FUSER_SPEED Speed REAL  
SLA_NUKEI_FUSER_FALLOFF Falloff REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_FUSER_OFFSET Offset REAL
UNIT PERCENT
MIN -100
MAX 100
SLA_NUKEI_EDGE_SH_INT EdgeShadowIntensity REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_EDGE_SH_FALLOFF EdgeShadowFalloff REAL
UNIT PERCENT
MIN -100
MAX 100
SLA_NUKEI_BUMP_1_AMP 1BumpAmplitude REAL UNIT
SLA_NUKEI_BUMP_1_EDGE_WIDTH 1EdgeWidth REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_BUMP_1_EDGE_BUMP_AMPL 1EdgeBumpAmplitude REAL UNIT
SLA_NUKEI_BUMP_2_AMP 2BumpAmplitude REAL UNIT
SLA_NUKEI_BUMP_2_EDGE_WIDTH 2EdgeWidth REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_BUMP_2_EDGE_BUMP_AMPL 2EdgeBumpAmplitude REAL UNIT
SLA_NUKEI_DIFFUSE_COLOR_A DiffuseColorA COLOR  
SLA_NUKEI_DIFFUSE_ALGORITHM_A Algorithm LONG  
SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL Internal
SLA_NUKEI_DIFFUSE_ALGORITHM_OREN_NAYAR OrenNayar
SLA_NUKEI_DIFFUSE_ROUGHNESS_A Roughness REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_DIFFUSE_ILLUMINATION_A Illumination REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_DIFFUSE_CONTRAST_A Contrast REAL
UNIT PERCENT
MIN -1000
MAX 1000
SLA_NUKEI_SPEC1_COLOR_A Color COLOR  
SLA_NUKEI_SPEC1_INTENSITY_A Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC1_SIZE_A Size REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_SPEC1_CONTRAST_A Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_SPEC1_GLARE_A Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC1_FALLOFF_A Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_SPEC2_COLOR_A Color COLOR  
SLA_NUKEI_SPEC2_INTENSITY_A Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC2_SIZE_A Size REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_SPEC2_CONTRAST_A Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_SPEC2_GLARE_A Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC2_FALLOFF_A Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_SPEC3_COLOR_A Color COLOR  
SLA_NUKEI_SPEC3_INTENSITY_A Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC3_SIZE_A Size REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_SPEC3_CONTRAST_A Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_SPEC3_GLARE_A Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC3_FALLOFF_A Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_REFLECTION_INTENSITY_A Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_REFLECTION_EDGE_INTENSITY_A EdgeIntensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_REFLECTION_FALLOFF_A Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_REFLECTION_REFLECTION_COLOR_A ReflectionColor COLOR  
SLA_NUKEI_REFLECTION_EDGE_COLOR_A ReflectionEdgeColor COLOR  
SLA_NUKEI_ENVIRONMENT_IMAGE Image SHADERLINK  
SLA_NUKEI_ENVIRONMENT_INTENSITY_A Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ENVIRONMENT_GLARE_A Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ENVIRONMENT_FALLOFF_A Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_A UtilizeAnisotropicScratches BOOL  
SLA_NUKEI_ENVIRONMENT_BLUR_A Blur REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_ENVIRONMENT_SAMPLES_A Samples LONG MIN
SLA_NUKEI_ENVIRONMENT_JITTER_A Jitter REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ENVIRONMENT_ENVIRONMENT_COLOR_A EnvironmentColor COLOR  
SLA_NUKEI_ENVIRONMENT_EDGE_COLOR_A EdgeColor COLOR  
SLA_NUKEI_AMBIENT_COLOR_A Color COLOR  
SLA_NUKEI_AMBIENT_INTENSITY_A Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_AMBIENT_EDGE_INTENSITY_A EdgeIntensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_AMBIENT_FALLOFF_A Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ROUGHNESS_SEED_A Seed LONG  
SLA_NUKEI_ROUGHNESS_NOISE_A Function LONG
CUSTOMGUI NOISE
NOISE_OFFSET 2100
SLA_NUKEI_ROUGHNESS_AMPLITUDE_A Amplitude REAL
UNIT PERCENT
MIN -1000
MAX 1000
SLA_NUKEI_ROUGHNESS_OCTAVES_A Octaves REAL
MIN 0
MAX 20
STEP .5
SLA_NUKEI_ROUGHNESS_SCALE_A Scale REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ROUGHNESS_ATTENUATION_A Attenuation REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ROUGHNESS_DELTA_A Delta REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ROUGHNESS_HARD_BUMP_A HardBump BOOL  
SLA_NUKEI_ROUGHNESS_ABSOLUTE_A Absolute BOOL  
SLA_NUKEI_ROUGHNESS_LOW_CLIP_A LowClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_HIGH_CLIP_A HighClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_GRIT_COLOR_A GritColor COLOR  
SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_A GritIntensity REAL
UNIT PERCENT
MIN -200
MAX 200
MINSLIDER -200
MAXSLIDER 200
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_A GritLowClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_A GritHighClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ANISOTROPY_PROJECTION_A Projection LONG  
SLA_NUKEI_PROJECTION_PLANAR Planar
SLA_NUKEI_PROJECTION_AUTO_PLANAR AutoPlanar
SLA_NUKEI_PROJECTION_SHRINK_WRAP ShrinkWrap
SLA_NUKEI_PROJECTION_RADIAL_AUTO_PLANAR RadialAutoPlanar
SLA_NUKEI_PROJECTION_RAD_PATTERN_AUTO_PLANAR RadialPatternAutoPlanar
SLA_NUKEI_PROJECTION_RADIAL_PLANAR RadialPlanar
SLA_NUKEI_PROJECTION_RAD_PATTERN_PLANAR RadialPatternPlanar
SLA_NUKEI_ANISOTROPY_PROJ_SCALE_A ProjectionScale REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ANISOTROPY_X_ROUGH_A RoughnessX REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_Y_ROUGH_A RoughnessY REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_AMPL_A Amplitude REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_ANISOTROPY_SCALE_A Scale REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_LENGTH_A Length REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_ATT_A Attenuation REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_CHANNEL1_A Specular1 BOOL  
SLA_NUKEI_ANISOTROPY_CHANNEL2_A Specular2 BOOL  
SLA_NUKEI_ANISOTROPY_CHANNEL3_A Specular3 BOOL  
SLA_NUKEI_ALPHA_OPA_A Opacity REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_DIFFUSE_COLOR_B DiffuseColorB COLOR  
SLA_NUKEI_DIFFUSE_ALGORITHM_A Algorithm LONG  
SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL Internal
SLA_NUKEI_DIFFUSE_ALGORITHM_OREN_NAYAR OrenNayar
SLA_NUKEI_DIFFUSE_ROUGHNESS_B Roughness REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_DIFFUSE_ILLUMINATION_B Illumination REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_DIFFUSE_CONTRAST_B Contrast REAL
UNIT PERCENT
MIN -1000
MAX 1000
SLA_NUKEI_SPEC1_COLOR_B Color COLOR  
SLA_NUKEI_SPEC1_INTENSITY_B Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC1_SIZE_B Size REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_SPEC1_CONTRAST_B Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_SPEC1_GLARE_B Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC1_FALLOFF_B Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_SPEC2_COLOR_B Color COLOR  
SLA_NUKEI_SPEC2_INTENSITY_B Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC2_SIZE_B Size REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_SPEC2_CONTRAST_B Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_SPEC2_GLARE_B Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC2_FALLOFF_B Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_SPEC3_COLOR_B Color COLOR  
SLA_NUKEI_SPEC3_INTENSITY_B Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC3_SIZE_B Size REAL
UNIT PERCENT
MIN 0
MAX 200
SLA_NUKEI_SPEC3_CONTRAST_B Contrast REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_SPEC3_GLARE_B Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_SPEC3_FALLOFF_B Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_REFLECTION_INTENSITY_B Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_REFLECTION_EDGE_INTENSITY_B EdgeIntensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_REFLECTION_FALLOFF_B Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_REFLECTION_REFLECTION_COLOR_B ReflectionColor COLOR  
SLA_NUKEI_REFLECTION_EDGE_COLOR_B ReflectionEdgeColor COLOR  
SLA_NUKEI_ENVIRONMENT_IMAGE Image SHADERLINK  
SLA_NUKEI_ENVIRONMENT_INTENSITY_B Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ENVIRONMENT_GLARE_B Glare REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ENVIRONMENT_FALLOFF_B Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_B UtilizeAnisotropicScratches BOOL  
SLA_NUKEI_ENVIRONMENT_BLUR_B Blur REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_ENVIRONMENT_SAMPLES_B Samples LONG MIN
SLA_NUKEI_ENVIRONMENT_JITTER_B Jitter REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ENVIRONMENT_ENVIRONMENT_COLOR_B EnvironmentColor COLOR  
SLA_NUKEI_ENVIRONMENT_EDGE_COLOR_B EdgeColor COLOR  
SLA_NUKEI_AMBIENT_COLOR_B Color COLOR  
SLA_NUKEI_AMBIENT_INTENSITY_B Intensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_AMBIENT_EDGE_INTENSITY_B EdgeIntensity REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_AMBIENT_FALLOFF_B Falloff REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ROUGHNESS_SEED_B Seed LONG  
SLA_NUKEI_ROUGHNESS_NOISE_B Function LONG
CUSTOMGUI NOISE
NOISE_OFFSET 2100
SLA_NUKEI_ROUGHNESS_AMPLITUDE_B Amplitude REAL
UNIT PERCENT
MIN -1000
MAX 1000
SLA_NUKEI_ROUGHNESS_OCTAVES_B Octaves REAL
MIN 0
MAX 20
STEP .5
SLA_NUKEI_ROUGHNESS_SCALE_B Scale REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ROUGHNESS_ATTENUATION_B Attenuation REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ROUGHNESS_DELTA_B Delta REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ROUGHNESS_HARD_BUMP_B HardBump BOOL  
SLA_NUKEI_ROUGHNESS_ABSOLUTE_B Absolute BOOL  
SLA_NUKEI_ROUGHNESS_LOW_CLIP_B LowClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_HIGH_CLIP_B HighClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_GRIT_COLOR_B GritColor COLOR  
SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_B GritIntensity REAL
UNIT PERCENT
MIN -200
MAX 200
MINSLIDER -200
MAXSLIDER 200
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_B GritLowClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_B GritHighClip REAL
UNIT PERCENT
MIN 0
MAX 100
MINSLIDER 0
MAXSLIDER 100
CUSTOMGUI REALSLIDER
SLA_NUKEI_ANISOTROPY_PROJECTION_B Projection LONG  
SLA_NUKEI_PROJECTION_PLANAR Planar
SLA_NUKEI_PROJECTION_AUTO_PLANAR AutoPlanar
SLA_NUKEI_PROJECTION_SHRINK_WRAP ShrinkWrap
SLA_NUKEI_PROJECTION_RADIAL_AUTO_PLANAR RadialAutoPlanar
SLA_NUKEI_PROJECTION_RAD_PATTERN_AUTO_PLANAR RadialPatternAutoPlanar
SLA_NUKEI_PROJECTION_RADIAL_PLANAR RadialPlanar
SLA_NUKEI_PROJECTION_RAD_PATTERN_PLANAR RadialPatternPlanar
SLA_NUKEI_ANISOTROPY_PROJ_SCALE_B ProjectionScale REAL
UNIT PERCENT
MIN 0
MAX 1000
SLA_NUKEI_ANISOTROPY_X_ROUGH_B RoughnessX REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_Y_ROUGH_B RoughnessY REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_AMPL_B Amplitude REAL
UNIT PERCENT
MIN 0
MAX 100
SLA_NUKEI_ANISOTROPY_SCALE_B Scale REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_LENGTH_B Length REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_ATT_B Attenuation REAL
UNIT PERCENT
MIN 0
SLA_NUKEI_ANISOTROPY_CHANNEL1_B Specular1 BOOL  
SLA_NUKEI_ANISOTROPY_CHANNEL2_B Specular2 BOOL  
SLA_NUKEI_ANISOTROPY_CHANNEL3_B Specular3 BOOL  
SLA_NUKEI_ALPHA_OPA_B Opacity REAL
UNIT PERCENT
MIN 0
MAX 100

Example Code

The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown. This code is just to show you how to access the values for getting and setting the parameters.

Python

import c4d
from c4d import gui
def main():
    material = c4d.BaseMaterial(c4d.XSLANukei)
    
    #You can set parameters two different ways. 
    #First way              
    material[c4d.SLA_NUKEI_SURFACE] = c4d.SLA_NUKEI_SURFACE_1
    material[c4d.SLA_NUKEI_FUSING] = True
    material[c4d.SLA_NUKEI_DIFFUSE_A] = True
    material[c4d.SLA_NUKEI_SPECULAR1_A] = True
    material[c4d.SLA_NUKEI_SPECULAR2_A] = True
    material[c4d.SLA_NUKEI_SPECULAR3_A] = True
    material[c4d.SLA_NUKEI_REFLECTION_A] = True
    material[c4d.SLA_NUKEI_ENVIRONMENT_A] = True
    material[c4d.SLA_NUKEI_AMBIENT_A] = True
    material[c4d.SLA_NUKEI_ROUGHNESS_A] = True
    material[c4d.SLA_NUKEI_ANISOTROPY_A] = True
    material[c4d.SLA_NUKEI_ALPHA_A] = True
    material[c4d.SLA_NUKEI_DIFFUSE_B] = True
    material[c4d.SLA_NUKEI_SPECULAR1_B] = True
    material[c4d.SLA_NUKEI_SPECULAR2_B] = True
    material[c4d.SLA_NUKEI_SPECULAR3_B] = True
    material[c4d.SLA_NUKEI_REFLECTION_B] = True
    material[c4d.SLA_NUKEI_ENVIRONMENT_B] = True
    material[c4d.SLA_NUKEI_AMBIENT_B] = True
    material[c4d.SLA_NUKEI_ROUGHNESS_B] = True
    material[c4d.SLA_NUKEI_ANISOTROPY_B] = True
    material[c4d.SLA_NUKEI_ALPHA_B] = True
    material[c4d.SLA_NUKEI_FUSER_PROJECTION] = c4d.SLA_NUKEI_TEX_PROJECTION_SPHERICAL
    material[c4d.SLA_NUKEI_FUSER_OFFSET_X] = 0.1
    material[c4d.SLA_NUKEI_FUSER_OFFSET_Y] = 0.1
    material[c4d.SLA_NUKEI_FUSER_LENGTH_X] = 0.1
    material[c4d.SLA_NUKEI_FUSER_LENGTH_Y] = 0.1
    material[c4d.SLA_NUKEI_FUSER_TILES_X] = 0.1
    material[c4d.SLA_NUKEI_FUSER_TILES_Y] = 0.1
    material[c4d.SLA_NUKEI_FUSER_TILE] = True
    material[c4d.SLA_NUKEI_FUSER_SEAMLESS] = True
    material[c4d.SLA_NUKEI_FUSER_POSITION] = c4d.Vector(1.0,1.0,1.0)
    material[c4d.SLA_NUKEI_FUSER_SIZE] = c4d.Vector(1.0,1.0,1.0)
    material[c4d.SLA_NUKEI_FUSER_ROTATION] = c4d.Vector(1.0,1.0,1.0)
    material[c4d.SLA_NUKEI_FUSER_OVERRIDE_TIME] = True
    material[c4d.SLA_NUKEI_FUSER_SPEED] = 0.1
    material[c4d.SLA_NUKEI_FUSER_FALLOFF] = 0.1
    material[c4d.SLA_NUKEI_FUSER_OFFSET] = 0.1
    material[c4d.SLA_NUKEI_EDGE_SH_INT] = 0.1
    material[c4d.SLA_NUKEI_EDGE_SH_FALLOFF] = 0.1
    material[c4d.SLA_NUKEI_BUMP_1_AMP] = 0.1
    material[c4d.SLA_NUKEI_BUMP_1_EDGE_WIDTH] = 0.1
    material[c4d.SLA_NUKEI_BUMP_1_EDGE_BUMP_AMPL] = 0.1
    material[c4d.SLA_NUKEI_BUMP_2_AMP] = 0.1
    material[c4d.SLA_NUKEI_BUMP_2_EDGE_WIDTH] = 0.1
    material[c4d.SLA_NUKEI_BUMP_2_EDGE_BUMP_AMPL] = 0.1
    material[c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_A] = c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL
    material[c4d.SLA_NUKEI_DIFFUSE_ROUGHNESS_A] = 0.1
    material[c4d.SLA_NUKEI_DIFFUSE_ILLUMINATION_A] = 0.1
    material[c4d.SLA_NUKEI_DIFFUSE_CONTRAST_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_SIZE_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_CONTRAST_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_GLARE_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_FALLOFF_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_SIZE_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_CONTRAST_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_GLARE_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_FALLOFF_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_SIZE_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_CONTRAST_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_GLARE_A] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_FALLOFF_A] = 0.1
    material[c4d.SLA_NUKEI_REFLECTION_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_REFLECTION_EDGE_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_REFLECTION_FALLOFF_A] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_GLARE_A] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_FALLOFF_A] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_A] = True
    material[c4d.SLA_NUKEI_ENVIRONMENT_BLUR_A] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_SAMPLES_A] = 1
    material[c4d.SLA_NUKEI_ENVIRONMENT_JITTER_A] = 0.1
    material[c4d.SLA_NUKEI_AMBIENT_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_AMBIENT_EDGE_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_AMBIENT_FALLOFF_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_SEED_A] = 1
    material[c4d.SLA_NUKEI_ROUGHNESS_NOISE_A] = 1
    material[c4d.SLA_NUKEI_ROUGHNESS_AMPLITUDE_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_OCTAVES_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_SCALE_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_ATTENUATION_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_DELTA_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_HARD_BUMP_A] = True
    material[c4d.SLA_NUKEI_ROUGHNESS_ABSOLUTE_A] = True
    material[c4d.SLA_NUKEI_ROUGHNESS_LOW_CLIP_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_HIGH_CLIP_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_A] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_PROJECTION_A] = c4d.SLA_NUKEI_PROJECTION_PLANAR
    material[c4d.SLA_NUKEI_ANISOTROPY_PROJ_SCALE_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_X_ROUGH_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_Y_ROUGH_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_AMPL_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_SCALE_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_LENGTH_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_ATT_A] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_CHANNEL1_A] = True
    material[c4d.SLA_NUKEI_ANISOTROPY_CHANNEL2_A] = True
    material[c4d.SLA_NUKEI_ANISOTROPY_CHANNEL3_A] = True
    material[c4d.SLA_NUKEI_ALPHA_OPA_A] = 0.1
    material[c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_A] = c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL
    material[c4d.SLA_NUKEI_DIFFUSE_ROUGHNESS_B] = 0.1
    material[c4d.SLA_NUKEI_DIFFUSE_ILLUMINATION_B] = 0.1
    material[c4d.SLA_NUKEI_DIFFUSE_CONTRAST_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_SIZE_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_CONTRAST_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_GLARE_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC1_FALLOFF_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_SIZE_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_CONTRAST_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_GLARE_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC2_FALLOFF_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_SIZE_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_CONTRAST_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_GLARE_B] = 0.1
    material[c4d.SLA_NUKEI_SPEC3_FALLOFF_B] = 0.1
    material[c4d.SLA_NUKEI_REFLECTION_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_REFLECTION_EDGE_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_REFLECTION_FALLOFF_B] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_GLARE_B] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_FALLOFF_B] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_B] = True
    material[c4d.SLA_NUKEI_ENVIRONMENT_BLUR_B] = 0.1
    material[c4d.SLA_NUKEI_ENVIRONMENT_SAMPLES_B] = 1
    material[c4d.SLA_NUKEI_ENVIRONMENT_JITTER_B] = 0.1
    material[c4d.SLA_NUKEI_AMBIENT_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_AMBIENT_EDGE_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_AMBIENT_FALLOFF_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_SEED_B] = 1
    material[c4d.SLA_NUKEI_ROUGHNESS_NOISE_B] = 1
    material[c4d.SLA_NUKEI_ROUGHNESS_AMPLITUDE_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_OCTAVES_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_SCALE_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_ATTENUATION_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_DELTA_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_HARD_BUMP_B] = True
    material[c4d.SLA_NUKEI_ROUGHNESS_ABSOLUTE_B] = True
    material[c4d.SLA_NUKEI_ROUGHNESS_LOW_CLIP_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_HIGH_CLIP_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_B] = 0.1
    material[c4d.SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_PROJECTION_B] = c4d.SLA_NUKEI_PROJECTION_PLANAR
    material[c4d.SLA_NUKEI_ANISOTROPY_PROJ_SCALE_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_X_ROUGH_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_Y_ROUGH_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_AMPL_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_SCALE_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_LENGTH_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_ATT_B] = 0.1
    material[c4d.SLA_NUKEI_ANISOTROPY_CHANNEL1_B] = True
    material[c4d.SLA_NUKEI_ANISOTROPY_CHANNEL2_B] = True
    material[c4d.SLA_NUKEI_ANISOTROPY_CHANNEL3_B] = True
    material[c4d.SLA_NUKEI_ALPHA_OPA_B] = 0.1
    
    #Second way, using the base container.
    bc = material.GetDataInstance()
    bc.SetInt32(c4d.SLA_NUKEI_SURFACE,c4d.SLA_NUKEI_SURFACE_1)
    bc.SetBool(c4d.SLA_NUKEI_FUSING,True)
    bc.SetBool(c4d.SLA_NUKEI_DIFFUSE_A,True)
    bc.SetBool(c4d.SLA_NUKEI_SPECULAR1_A,True)
    bc.SetBool(c4d.SLA_NUKEI_SPECULAR2_A,True)
    bc.SetBool(c4d.SLA_NUKEI_SPECULAR3_A,True)
    bc.SetBool(c4d.SLA_NUKEI_REFLECTION_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ENVIRONMENT_A,True)
    bc.SetBool(c4d.SLA_NUKEI_AMBIENT_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ROUGHNESS_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ALPHA_A,True)
    bc.SetBool(c4d.SLA_NUKEI_DIFFUSE_B,True)
    bc.SetBool(c4d.SLA_NUKEI_SPECULAR1_B,True)
    bc.SetBool(c4d.SLA_NUKEI_SPECULAR2_B,True)
    bc.SetBool(c4d.SLA_NUKEI_SPECULAR3_B,True)
    bc.SetBool(c4d.SLA_NUKEI_REFLECTION_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ENVIRONMENT_B,True)
    bc.SetBool(c4d.SLA_NUKEI_AMBIENT_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ROUGHNESS_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ALPHA_B,True)
    bc.SetInt32(c4d.SLA_NUKEI_FUSER_PROJECTION,c4d.SLA_NUKEI_TEX_PROJECTION_SPHERICAL)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_OFFSET_X,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_OFFSET_Y,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_LENGTH_X,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_LENGTH_Y,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_TILES_X,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_TILES_Y,0.1)
    bc.SetBool(c4d.SLA_NUKEI_FUSER_TILE,True)
    bc.SetBool(c4d.SLA_NUKEI_FUSER_SEAMLESS,True)
    bc.SetVector(c4d.SLA_NUKEI_FUSER_POSITION, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.SLA_NUKEI_FUSER_SIZE, c4d.Vector(1.0,1.0,1.0)
    bc.SetVector(c4d.SLA_NUKEI_FUSER_ROTATION, c4d.Vector(1.0,1.0,1.0)
    bc.SetBool(c4d.SLA_NUKEI_FUSER_OVERRIDE_TIME,True)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_SPEED,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_FALLOFF,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_FUSER_OFFSET,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_EDGE_SH_INT,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_EDGE_SH_FALLOFF,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_BUMP_1_AMP,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_BUMP_1_EDGE_WIDTH,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_BUMP_1_EDGE_BUMP_AMPL,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_BUMP_2_AMP,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_BUMP_2_EDGE_WIDTH,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_BUMP_2_EDGE_BUMP_AMPL,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_A,c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL)
    bc.SetFloat(c4d.SLA_NUKEI_DIFFUSE_ROUGHNESS_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_DIFFUSE_ILLUMINATION_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_DIFFUSE_CONTRAST_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_SIZE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_CONTRAST_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_GLARE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_FALLOFF_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_SIZE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_CONTRAST_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_GLARE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_FALLOFF_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_SIZE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_CONTRAST_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_GLARE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_FALLOFF_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_REFLECTION_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_REFLECTION_EDGE_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_REFLECTION_FALLOFF_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_GLARE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_FALLOFF_A,0.1)
    bc.SetBool(c4d.SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_A,True)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_BLUR_A,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_ENVIRONMENT_SAMPLES_A,1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_JITTER_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_AMBIENT_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_AMBIENT_EDGE_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_AMBIENT_FALLOFF_A,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_ROUGHNESS_SEED_A,1)
    bc.SetInt32(c4d.SLA_NUKEI_ROUGHNESS_NOISE_A,1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_AMPLITUDE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_OCTAVES_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_SCALE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_ATTENUATION_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_DELTA_A,0.1)
    bc.SetBool(c4d.SLA_NUKEI_ROUGHNESS_HARD_BUMP_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ROUGHNESS_ABSOLUTE_A,True)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_LOW_CLIP_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_HIGH_CLIP_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_A,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_ANISOTROPY_PROJECTION_A,c4d.SLA_NUKEI_PROJECTION_PLANAR)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_PROJ_SCALE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_X_ROUGH_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_Y_ROUGH_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_AMPL_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_SCALE_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_LENGTH_A,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_ATT_A,0.1)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_CHANNEL1_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_CHANNEL2_A,True)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_CHANNEL3_A,True)
    bc.SetFloat(c4d.SLA_NUKEI_ALPHA_OPA_A,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_A,c4d.SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL)
    bc.SetFloat(c4d.SLA_NUKEI_DIFFUSE_ROUGHNESS_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_DIFFUSE_ILLUMINATION_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_DIFFUSE_CONTRAST_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_SIZE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_CONTRAST_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_GLARE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC1_FALLOFF_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_SIZE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_CONTRAST_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_GLARE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC2_FALLOFF_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_SIZE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_CONTRAST_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_GLARE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_SPEC3_FALLOFF_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_REFLECTION_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_REFLECTION_EDGE_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_REFLECTION_FALLOFF_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_GLARE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_FALLOFF_B,0.1)
    bc.SetBool(c4d.SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_B,True)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_BLUR_B,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_ENVIRONMENT_SAMPLES_B,1)
    bc.SetFloat(c4d.SLA_NUKEI_ENVIRONMENT_JITTER_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_AMBIENT_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_AMBIENT_EDGE_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_AMBIENT_FALLOFF_B,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_ROUGHNESS_SEED_B,1)
    bc.SetInt32(c4d.SLA_NUKEI_ROUGHNESS_NOISE_B,1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_AMPLITUDE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_OCTAVES_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_SCALE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_ATTENUATION_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_DELTA_B,0.1)
    bc.SetBool(c4d.SLA_NUKEI_ROUGHNESS_HARD_BUMP_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ROUGHNESS_ABSOLUTE_B,True)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_LOW_CLIP_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_HIGH_CLIP_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_B,0.1)
    bc.SetInt32(c4d.SLA_NUKEI_ANISOTROPY_PROJECTION_B,c4d.SLA_NUKEI_PROJECTION_PLANAR)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_PROJ_SCALE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_X_ROUGH_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_Y_ROUGH_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_AMPL_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_SCALE_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_LENGTH_B,0.1)
    bc.SetFloat(c4d.SLA_NUKEI_ANISOTROPY_ATT_B,0.1)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_CHANNEL1_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_CHANNEL2_B,True)
    bc.SetBool(c4d.SLA_NUKEI_ANISOTROPY_CHANNEL3_B,True)
    bc.SetFloat(c4d.SLA_NUKEI_ALPHA_OPA_B,0.1)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../sla/description/xslanukei.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseMaterial *pMaterial = BaseMaterial::Alloc(XSLANukei);  
    
    //You can set parameters two different ways. 

    //First way              
    //Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead. 

    DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
    pMaterial->SetParameter(DescID(SLA_NUKEI_SURFACE),GeData(SLA_NUKEI_SURFACE_1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSING),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPECULAR1_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPECULAR2_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPECULAR3_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ALPHA_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPECULAR1_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPECULAR2_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPECULAR3_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ALPHA_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_PROJECTION),GeData(SLA_NUKEI_TEX_PROJECTION_SPHERICAL),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_OFFSET_X),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_OFFSET_Y),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_LENGTH_X),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_LENGTH_Y),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_TILES_X),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_TILES_Y),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_TILE),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_SEAMLESS),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_POSITION),GeData(Vector(1.0,1.0,1.0)),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_SIZE),GeData(Vector(1.0,1.0,1.0)),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_ROTATION),GeData(Vector(1.0,1.0,1.0)),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_OVERRIDE_TIME),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_SPEED),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_FALLOFF),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_FUSER_OFFSET),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_EDGE_SH_INT),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_EDGE_SH_FALLOFF),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_BUMP_1_AMP),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_BUMP_1_EDGE_WIDTH),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_BUMP_1_EDGE_BUMP_AMPL),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_BUMP_2_AMP),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_BUMP_2_EDGE_WIDTH),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_BUMP_2_EDGE_BUMP_AMPL),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_ALGORITHM_A),GeData(SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_ROUGHNESS_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_ILLUMINATION_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_CONTRAST_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_SIZE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_CONTRAST_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_GLARE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_FALLOFF_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_SIZE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_CONTRAST_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_GLARE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_FALLOFF_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_SIZE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_CONTRAST_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_GLARE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_FALLOFF_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_EDGE_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_FALLOFF_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_GLARE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_FALLOFF_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_BLUR_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_SAMPLES_A),GeData(1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_JITTER_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_EDGE_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_FALLOFF_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_SEED_A),GeData(1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_NOISE_A),GeData(1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_AMPLITUDE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_OCTAVES_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_SCALE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_ATTENUATION_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_DELTA_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_HARD_BUMP_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_ABSOLUTE_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_LOW_CLIP_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_HIGH_CLIP_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_PROJECTION_A),GeData(SLA_NUKEI_PROJECTION_PLANAR),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_PROJ_SCALE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_X_ROUGH_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_Y_ROUGH_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_AMPL_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_SCALE_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_LENGTH_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_ATT_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_CHANNEL1_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_CHANNEL2_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_CHANNEL3_A),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ALPHA_OPA_A),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_ALGORITHM_A),GeData(SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_ROUGHNESS_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_ILLUMINATION_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_DIFFUSE_CONTRAST_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_SIZE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_CONTRAST_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_GLARE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC1_FALLOFF_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_SIZE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_CONTRAST_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_GLARE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC2_FALLOFF_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_SIZE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_CONTRAST_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_GLARE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_SPEC3_FALLOFF_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_EDGE_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_REFLECTION_FALLOFF_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_GLARE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_FALLOFF_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_BLUR_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_SAMPLES_B),GeData(1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ENVIRONMENT_JITTER_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_EDGE_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_AMBIENT_FALLOFF_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_SEED_B),GeData(1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_NOISE_B),GeData(1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_AMPLITUDE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_OCTAVES_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_SCALE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_ATTENUATION_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_DELTA_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_HARD_BUMP_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_ABSOLUTE_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_LOW_CLIP_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_HIGH_CLIP_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_PROJECTION_B),GeData(SLA_NUKEI_PROJECTION_PLANAR),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_PROJ_SCALE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_X_ROUGH_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_Y_ROUGH_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_AMPL_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_SCALE_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_LENGTH_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_ATT_B),GeData(0.1),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_CHANNEL1_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_CHANNEL2_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ANISOTROPY_CHANNEL3_B),GeData(true),flags);
    pMaterial->SetParameter(DescID(SLA_NUKEI_ALPHA_OPA_B),GeData(0.1),flags);
    pMaterial->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pMaterial->GetDataInstance();
    bc->SetInt32(SLA_NUKEI_SURFACE,SLA_NUKEI_SURFACE_1);
    bc->SetBool(SLA_NUKEI_FUSING,true);
    bc->SetBool(SLA_NUKEI_DIFFUSE_A,true);
    bc->SetBool(SLA_NUKEI_SPECULAR1_A,true);
    bc->SetBool(SLA_NUKEI_SPECULAR2_A,true);
    bc->SetBool(SLA_NUKEI_SPECULAR3_A,true);
    bc->SetBool(SLA_NUKEI_REFLECTION_A,true);
    bc->SetBool(SLA_NUKEI_ENVIRONMENT_A,true);
    bc->SetBool(SLA_NUKEI_AMBIENT_A,true);
    bc->SetBool(SLA_NUKEI_ROUGHNESS_A,true);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_A,true);
    bc->SetBool(SLA_NUKEI_ALPHA_A,true);
    bc->SetBool(SLA_NUKEI_DIFFUSE_B,true);
    bc->SetBool(SLA_NUKEI_SPECULAR1_B,true);
    bc->SetBool(SLA_NUKEI_SPECULAR2_B,true);
    bc->SetBool(SLA_NUKEI_SPECULAR3_B,true);
    bc->SetBool(SLA_NUKEI_REFLECTION_B,true);
    bc->SetBool(SLA_NUKEI_ENVIRONMENT_B,true);
    bc->SetBool(SLA_NUKEI_AMBIENT_B,true);
    bc->SetBool(SLA_NUKEI_ROUGHNESS_B,true);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_B,true);
    bc->SetBool(SLA_NUKEI_ALPHA_B,true);
    bc->SetInt32(SLA_NUKEI_FUSER_PROJECTION,SLA_NUKEI_TEX_PROJECTION_SPHERICAL);
    bc->SetFloat(SLA_NUKEI_FUSER_OFFSET_X,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_OFFSET_Y,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_LENGTH_X,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_LENGTH_Y,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_TILES_X,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_TILES_Y,0.1);
    bc->SetBool(SLA_NUKEI_FUSER_TILE,true);
    bc->SetBool(SLA_NUKEI_FUSER_SEAMLESS,true);
    bc->SetVector(SLA_NUKEI_FUSER_POSITION, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(SLA_NUKEI_FUSER_SIZE, c4d.Vector(1.0,1.0,1.0);
    bc->SetVector(SLA_NUKEI_FUSER_ROTATION, c4d.Vector(1.0,1.0,1.0);
    bc->SetBool(SLA_NUKEI_FUSER_OVERRIDE_TIME,true);
    bc->SetFloat(SLA_NUKEI_FUSER_SPEED,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_FALLOFF,0.1);
    bc->SetFloat(SLA_NUKEI_FUSER_OFFSET,0.1);
    bc->SetFloat(SLA_NUKEI_EDGE_SH_INT,0.1);
    bc->SetFloat(SLA_NUKEI_EDGE_SH_FALLOFF,0.1);
    bc->SetFloat(SLA_NUKEI_BUMP_1_AMP,0.1);
    bc->SetFloat(SLA_NUKEI_BUMP_1_EDGE_WIDTH,0.1);
    bc->SetFloat(SLA_NUKEI_BUMP_1_EDGE_BUMP_AMPL,0.1);
    bc->SetFloat(SLA_NUKEI_BUMP_2_AMP,0.1);
    bc->SetFloat(SLA_NUKEI_BUMP_2_EDGE_WIDTH,0.1);
    bc->SetFloat(SLA_NUKEI_BUMP_2_EDGE_BUMP_AMPL,0.1);
    bc->SetInt32(SLA_NUKEI_DIFFUSE_ALGORITHM_A,SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL);
    bc->SetFloat(SLA_NUKEI_DIFFUSE_ROUGHNESS_A,0.1);
    bc->SetFloat(SLA_NUKEI_DIFFUSE_ILLUMINATION_A,0.1);
    bc->SetFloat(SLA_NUKEI_DIFFUSE_CONTRAST_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_SIZE_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_CONTRAST_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_GLARE_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_FALLOFF_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_SIZE_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_CONTRAST_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_GLARE_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_FALLOFF_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_SIZE_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_CONTRAST_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_GLARE_A,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_FALLOFF_A,0.1);
    bc->SetFloat(SLA_NUKEI_REFLECTION_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_REFLECTION_EDGE_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_REFLECTION_FALLOFF_A,0.1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_GLARE_A,0.1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_FALLOFF_A,0.1);
    bc->SetBool(SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_A,true);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_BLUR_A,0.1);
    bc->SetInt32(SLA_NUKEI_ENVIRONMENT_SAMPLES_A,1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_JITTER_A,0.1);
    bc->SetFloat(SLA_NUKEI_AMBIENT_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_AMBIENT_EDGE_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_AMBIENT_FALLOFF_A,0.1);
    bc->SetInt32(SLA_NUKEI_ROUGHNESS_SEED_A,1);
    bc->SetInt32(SLA_NUKEI_ROUGHNESS_NOISE_A,1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_AMPLITUDE_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_OCTAVES_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_SCALE_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_ATTENUATION_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_DELTA_A,0.1);
    bc->SetBool(SLA_NUKEI_ROUGHNESS_HARD_BUMP_A,true);
    bc->SetBool(SLA_NUKEI_ROUGHNESS_ABSOLUTE_A,true);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_LOW_CLIP_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_HIGH_CLIP_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_A,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_A,0.1);
    bc->SetInt32(SLA_NUKEI_ANISOTROPY_PROJECTION_A,SLA_NUKEI_PROJECTION_PLANAR);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_PROJ_SCALE_A,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_X_ROUGH_A,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_Y_ROUGH_A,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_AMPL_A,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_SCALE_A,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_LENGTH_A,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_ATT_A,0.1);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_CHANNEL1_A,true);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_CHANNEL2_A,true);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_CHANNEL3_A,true);
    bc->SetFloat(SLA_NUKEI_ALPHA_OPA_A,0.1);
    bc->SetInt32(SLA_NUKEI_DIFFUSE_ALGORITHM_A,SLA_NUKEI_DIFFUSE_ALGORITHM_INTERNAL);
    bc->SetFloat(SLA_NUKEI_DIFFUSE_ROUGHNESS_B,0.1);
    bc->SetFloat(SLA_NUKEI_DIFFUSE_ILLUMINATION_B,0.1);
    bc->SetFloat(SLA_NUKEI_DIFFUSE_CONTRAST_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_SIZE_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_CONTRAST_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_GLARE_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC1_FALLOFF_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_SIZE_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_CONTRAST_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_GLARE_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC2_FALLOFF_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_SIZE_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_CONTRAST_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_GLARE_B,0.1);
    bc->SetFloat(SLA_NUKEI_SPEC3_FALLOFF_B,0.1);
    bc->SetFloat(SLA_NUKEI_REFLECTION_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_REFLECTION_EDGE_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_REFLECTION_FALLOFF_B,0.1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_GLARE_B,0.1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_FALLOFF_B,0.1);
    bc->SetBool(SLA_NUKEI_ENVIRONMENT_UTILIZE_ANISO_SCRATCHES_B,true);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_BLUR_B,0.1);
    bc->SetInt32(SLA_NUKEI_ENVIRONMENT_SAMPLES_B,1);
    bc->SetFloat(SLA_NUKEI_ENVIRONMENT_JITTER_B,0.1);
    bc->SetFloat(SLA_NUKEI_AMBIENT_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_AMBIENT_EDGE_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_AMBIENT_FALLOFF_B,0.1);
    bc->SetInt32(SLA_NUKEI_ROUGHNESS_SEED_B,1);
    bc->SetInt32(SLA_NUKEI_ROUGHNESS_NOISE_B,1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_AMPLITUDE_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_OCTAVES_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_SCALE_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_ATTENUATION_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_DELTA_B,0.1);
    bc->SetBool(SLA_NUKEI_ROUGHNESS_HARD_BUMP_B,true);
    bc->SetBool(SLA_NUKEI_ROUGHNESS_ABSOLUTE_B,true);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_LOW_CLIP_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_HIGH_CLIP_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_GRIT_INTENSITY_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_GRIT_LOW_CLIP_B,0.1);
    bc->SetFloat(SLA_NUKEI_ROUGHNESS_GRIT_HIGH_CLIP_B,0.1);
    bc->SetInt32(SLA_NUKEI_ANISOTROPY_PROJECTION_B,SLA_NUKEI_PROJECTION_PLANAR);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_PROJ_SCALE_B,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_X_ROUGH_B,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_Y_ROUGH_B,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_AMPL_B,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_SCALE_B,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_LENGTH_B,0.1);
    bc->SetFloat(SLA_NUKEI_ANISOTROPY_ATT_B,0.1);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_CHANNEL1_B,true);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_CHANNEL2_B,true);
    bc->SetBool(SLA_NUKEI_ANISOTROPY_CHANNEL3_B,true);
    bc->SetFloat(SLA_NUKEI_ALPHA_OPA_B,0.1);
    pMaterial->Message(MSG_UPDATE);                                                      
}
             

Buttons

This node has buttons. Buttons can manually be executed by calling the following code

Python

c4d.CallButton(material,c4d.SLA_NUKEI_FUSER_PASTE_TAG)

C++

DescriptionCommand dc;
dc.id = DescID(SLA_NUKEI_FUSER_PASTE_TAG);             
pMaterial->Message(MSG_DESCRIPTION_COMMAND, &dc);