I’m searching for a solution to set the sampleline style.
Part of the Python code:
for i in range(len(addsources)):
tmpaddsource = addsources[i].lower()
if tmpaddsource in tmpsource:
if slgsource.SourceType == addsourcetypes[i]:
slgsource.IsSampled = True
print(slgsource.SourceType)
if slgsource.SourceType == 0:
slgsource.StyleName = "Additional Surface 4"
if slgsource.SourceType == 2:
slgsource.StyleName = "HW"