Is there a way to specify what Revit Selection Set to use for a script?

What types of elements and how do you know they’ll always be the same elements (ie: same element numbers)?