I have a Revit model with a linked in external envelope.
When I grab the walls in Dynamo the internal (current) model is where the red circle is but the external (linked) model is where the green rectangle is:
ALL geometry is calculated based on the file’s internal origin. If model A and model B are aligned by any coordinate system other than the internal origin (Origin to origin link method) then you will get results like this if you don’t transform the geometry of the link into the live model’s coordinates.