How to remove an imported component?


When using " importComponentSetByKeyAsync" it imports the ComponentSetNode into memory and I can use it to create instances via my plugin.

The issue I have is that the Node is first added to the memory, but there doesn’t seem to be a way to remove it from memory if I want to. The .remove() method only works on nodes that reside in the document.

Does anyone know if there is a way to clear the remote Nodes from memory?

The only way to clear the memory is to reload the file tab.

1 Like