Use a Named Selection as Scoping of a Load or Support

Goal: Use a named selection as scoping of a load or support object.

Code:

load = Model.Analyses[0].AddPressure
ns = Model.NamedSelections.Children[0]
load.Location = ns