CompositeSimulayt.setLayerInfo


setLayerInfo(layerName, thickness, volumeFraction, material, [refOffsetLayerName], [lyrOffsetDir])

Sets layer info

layerNamestringname of the layer to change
thicknessdoublethickness of the layer
volumeFractiondoubleinitial volume fibre fraction
materialmaterial The name or ID of a material, or a pointer to a Material object. material of the layer
refOffsetLayerNameoptional string name of the layer from which this layer is offset
lyrOffsetDiroptional string layer drape offset direction "default", "positive" or "negative"
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to CompositeSimulayt

Back to Overview