Hi All, i managed to create this script for copying elements from a linked model into the active document. The problem I have is when I create a new project and link the document in and run the script it works, however the moment I use it on an existing project with the same link and multiple other links on the model hosted in ACC then I get the “Object Reference not set to an instance error”. Why would it work on a new project that is fresh but not an existing one?
The image below is on an existing project with multiple links and on acc.
The image below is on a new project with a link I want to copy from.




