I'm using standard ACA convension on a construct referenced into a "view" and that "view" dragged and dropped from the project navigator onto a "sheet".
This view is then clipped as needed.
There are actually several "views", each with their own viewport, laid out on the sheet.
In model spaces, these are all ontop of each other, but the viewport only show the contents of it's associated "view".
(sor far this is all nomal ACA)
While in the sheet's paperspace, I need to be able to pick the viewport, and get it's asscoiated "view" xref.
THis articale gets me very close...
However, it gets all the objects in the model space of the sheet (ie , all the xrefs), and what I need is the xref for the partticular viewport.
This seems to unique to ACA, since I cannot seem to manual recreate the same (filter?) that ACA does.
Any help would be appreciated.
GP
It is also part and parcel of Acad, via the SheetSetManager. It may be possible through dxf codes and backtracking the reactors and dictionaries (from the viewport object itself, not by reaching through the viewport and grabbing the MS entities as that post you referenced does), but for .net and the like you should look into the SheetSetManager api's (this may be further complicated by ACA's "takeover" of the SSM by the Project Navigator). That is where all of the "linking" information is stored.
-Gary