Copy Elements From Linked File Extremely Slow?

#1

Hello guys,

I was trying to copy pipe fittings from linked document, and the time it took is ridiculously slow. Tested by copying with 5 elements took around 3-4 minutes, 2000 elements took me around 6 hours! I was trying to copy thousands of those elements and it took days. Is this a limitation by Revit itself? Could this process be sped up?

I was using the Springs.Doc.CopyFromLinkInstance node.

EDIT: Is this because Revit needs to check the system type it will be connected to? Can this be bypassed or manually specified it before copying takes place?

0 Likes

Place Family Instance by Transform from Linked
#2

Can you provide the actual dyn you used please? It may be an element binding issue.

0 Likes

#3

Hi @JacobSmall,

Here’s the .dyn file.

The script works by filter elements by level, then copy it into current document.

One thing that’s noticeable is that, if the current document have pipes, it took very long to copy (as described in the first post), else, it’s relatively (a lot actually) faster. My guess is that Revit trying to figure out the fittings that will be joined to the pipes (system type etc).

Thanks in advance!

EDIT: Seems like not necessary if there’s pipe or not, it’s still slow.

0 Likes