Copying Drafting Views

Hi All,

Trying to work on code to copy required detail views (provided in excel) from a standard details model (to active Revit model). Thus far able to build the script to the point to create required. But couldn’t proceed further as having trouble to select all the drafting elements within each view. Any leads please ? Uploading code as well.