CreateLayer
CompoundStructureLayer CreateLayer(double thickness, MaterialFunctionAssignment function, Material material)Creates a new CompoundStructureLayer with a material.
Parameters
- thicknessdouble
Layer thickness in feet.
- functionMaterialFunctionAssignment
Layer function.
- materialMaterial
Layer material (optional).
Returns: A new CompoundStructureLayer.
Example
var layer = LayerExtensions.CreateLayer(0.2, MaterialFunctionAssignment.Finish1, mat);