30.04.2026 - 10:47
Hi,
I am working on layout automation and I have occured strange issue. When I change layout_border.Index value to any value, nothing changes in the layout. I always have the same border. Do you have any idea what migth be causing this?
Best regards
layout_border = AllplanBaseElements.LayoutBorderDefinition()
layout_border.UserDefined = 1
layout_border.Index = 2
layout_border.Name = "Ramka skoroszytowa typ 1"
layout_border.OuterLinePen = 1
layout_border.OuterLineColor = 5
layout_border.OuterlineStroke = 1