Pull from links
It is possible to pull elements directly from Revit link documents, in the coordinate system of the host model. This can be achieved using FilterByLink
request combined with other filters using the LogicalAndRequest
. For example, the script below would pull all beams from the link named MyLinkDocument.
Please note that pulling from link has a few limitations caused by the way in which Revit works:
- it is impossible to pull selection from link
- it is impossible to filter link elements by visibility in view
- pull of walls/floors/roofs as well as doors/windows uses different method of extracting their geometry, which may lead to slight degradation of the output