How Purge Family Documents

Does anyone know how to purge families itselfs (not the project where they are)? I’m trying to, with the dynamo open in the project where the families are, open all the families, purge them and then load them back to the same project

I tried all of this nodes:


but none of them seams to work with families… sometimes I get “null” others I get
“Warning: Document.Purge operation failed.
Modifying is forbidden because the document has no open transaction”

I tried this routine too:


But then I get a list of empty lists

Ps. I noticed some people have tried a while ago:

Does any one have a clue?
Thanks a lot :slight_smile:

Hi @luupieper,

This can be easily fixed.
I sent you by private message an updated version of the Purge Unused node.

1 Like

Hi,

I have the same problem with the purge script.

Can you help me please?*

regards

Mirko

1 Like

Hello @mirko.maccarronello, I don’t think there is an answer to this problem yet. @Alban_de_Chasteigner is working on a new version of nodes, and he said he will have a look if he can add a Document input for the node.

Hi @mirko.maccarronello,

I’ve added a document input and that seems to work. The updated node will be in the next update of the package.

4 Likes

Hi Alban,

where I can find the Genius_Loci_Purge_Unused node?

Regards

Mirko

1 Like

Hi @mirko.maccarronello
Genius Loci 2021.6.3 ,
by using this node element get deleted . so is there any problem to using it in live project.