Notifications
Clear all

[Closed] Xref merge problem + how to stop duplicate xref

Hi All,

I’m midway through hacking together a script(poorly I might add) and have a couple of issues.

The script is designed to scan a series of dummy objects and replace them with xref files.
So far the script works as I would like apart from 2 issues.
When I xref the objects I always end up with an xrefcontroller. If I do it manually, and have merge selected , it doesn’t appear.

xrefs.addNewXRefObject theFile myNewObjs modifiers: #merge manipulators: #merge

I thought this should merge everything as per the buttons but it doesn’t work.
Is there something obvious that I am missing that will just merge the object / no controller?

The second issue … I have now solved using a unique array.

Thankyou.

El-d