Scripting: Getting the Linked Object through a SubShapeBinder
The question:
How can I access the source of a SubShapeBinder?
The details:
My source is an App Part container with a few CopyOnChange variables. The SubShapeBinder is a snapshot of a particular configuration.
For an App Link I can use my_link.LinkedObject but this doesn't work for SubShapeBinders as my_binder.LinkedObject raises an AttributeException:
> 'Part.Feature' object has no attribute 'LinkedObject'
even though Linked Object is listed in the Data view.
Options:
I see
my_link.getLinkedObject()but this returns itself.I see
my_link.Support[0][0]but this is the source without the corresponding changes. I could possibly change this back to the modified state ... but that seems silly.I tried setting the App Link's
LinkCopyOnChangestate toTrackingso I could grab go throughLInkCopyOnChangeSourcebut again I cannot seem to access the Link properties as it raises another AttributeException.
What am I missing?