Insert xref with Camber but keep existing xrefs

I am trying to make a script that adds an xref to a autocad/civil3d drawing. I got it working with the Camber package however when I add a second xref, the first xref (added by the script) is removed.

Apparently, the script is replacing something but I can’t find what. From other sources that I found I get the idea that I somehow need to list the existing xrefs and then append my new xref to that list but I don’t understand how.

Is there somebody able to help me with this?

looks like an element binding issue, i know dynamo for revit behaves this way definitely, but c3d, worth a try. Element Binding in Revit - Share - Dynamo

Thanks for the answer. My bindings section is empty in the .dyn file so there are no bindings present.

For civil 3d the element binding can be set to be saved within the drawing, here is a copy of the primer which indicates this.

Object Binding | Dynamo

Do check this in the first instance

Sweet, that did it. I disabled the binding and then it works :slight_smile: