Sampe Line Group - set Sample Line Style

My fault, The line “slgsource.StyleName = …” doesn’t work. The member “StyleName” doesn’t exits but the “StyleID” exits.

Found thread : Get list of styles - #4 by Anton_Huizinga but the python code doesn’t work in CPython.

I this case in can’t use the Camber node “Section.Styles”, this is a dropdown list. Why not?

I want to create a Style mapping Excel Sheet:


Hope this makes sense.