Problem occurs while getting Wall Surface of Link File

Hello. I am working on a task which need to get the surface of wall from different levels of link files.

The situation is shown as the picture below that two link files contain wall element.

(PS. the lower level of link model is copied from the original level one)

The dynamo I write to get the surface, has made me confused: I found the geometry is same even I get the wall from different link model of different level. (tested by bounding box)

What I expected is the geometry from [2] link model is at lower position.

I attached the files here and it would be great if there is any solution.

Link Model.rvt (3.0 MB)
Wall.rvt (3.0 MB)
Dynamo.dyn (17.7 KB)

@TCKEAHY the Link Model.rvt file has 2 instances of the Wall.rvt file, the Wall element is not moving, you are copying then moving a link file instance within the host file.
Edit: meaning you are getting the same Wall element alongside its location twice from the same link instance.(check the ID of the Wall element)

@Elie.Trad
I got your meaning, but is there any way to get the “the moved” wall geometry?

@TCKEAHY try this:

1 Like

@Elie.Trad
Thx it works

1 Like