To get to the LayeredSectionWorksheet object:
lsws = Model.Geometry.Children[1].Layers
This object uses 0-based indices to refer to rows.
To control the data in the material column, use the
GetMaterialorSetMaterialmethod.To control the data in the
Thicknesscolumn, use theGetThicknessorSetThicknessmethod.To control the data in the
Anglecolumn, use theGetAngleorSetAnglemethod.