Skip to main content
Solved

How to remove an imported component?

  • April 20, 2023
  • 1 reply
  • 448 views

step34

Hi,

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?

Best answer by tank666

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

View original
This topic has been closed for replies.

1 reply

tank666
  • 4873 replies
  • Answer
  • April 20, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings