albandechasteigner / GeniusLociForDynamo

Genius Loci is a package of 350+ custom nodes for Dynamo in Revit.
MIT License
45 stars 10 forks source link

DeleteWorkset #15

Open S1arhei opened 2 years ago

S1arhei commented 2 years ago

Dear Alban, Sorry for bothering. The script below results in "null" DD#1012-F1 1 Script View Here is the Revit version: DD#1012-F1 1 Current Version Is any issue with this node?

albandechasteigner commented 2 years ago

Hi, The second WorksetId input expects a single item and not a list. Add a code block with x[0] to remove the list. Delete workset

Or use the Workset ByName node. Delete Workset_Alban

I will add the support for a workset Id list input for the next update of the package.

S1arhei commented 2 years ago

Thank you for your reply! I have tried both options, but neither one works on my PC. Maybe my current Revit version cannot handle it? DD#1012-F1 1 Script View - Reply 1013-1

S1arhei commented 2 years ago

Also if you prefer, I can post it in the Forum.DynamoBIM

albandechasteigner commented 2 years ago

I think you must be owner of the workset to be able to delete it. Delete workset 2 Try to delete a single workset first. If it works, add the others.

S1arhei commented 2 years ago

I am the owner of them. DD#1012-F1 1 Workset Owner - Reply 1013-2 1