dp = GetDisplayProperties(FindSource("Sphere1")) # note there must be a space around the '=' dp.SelectionLineWidth = 5