Get/set location of schedule graphics on sheet

Thanks @Konrad_K_Sobon for your python script on the related thread Get/Set Location of Schedule graphics follow up. It works perfectly with all our schedules!!

But, we can’t make it works with any other type of view, like viewports of floor plans or sections.

What we have to modify on the script to get the view location?

We are getting this error on the python script:

Traceback (most recent call last):
    File "<string>, line 38, in <module>
    File "<string>, line 29, in process_list
    File "<string>, line 29, in<lambda$703>
    File "<string>, line 33, in get_location
AttributeError: 'ViewPlan' object has no attribute 'Point'

We have duplicated sheets and the views with the scope box. But we don’t know why, on the resulted sheets the view it’s not on the same location. So we need to get the coordinates from the original to move the final views with a vector.

Thanks in advance!