Hi, I’m trying to delete specific redundant parameters from a model (needs to work in both Revit 2024 and 2025), some are vanilla project parameters and some are project parameters created from shared parameters.
In Dynamo i can use Clockwork’s Document.ProjectParameters to capture all the project parameters created from Shared Parameters (not sure why it doesn’t pick up vanilla project parameters), and I can delete them with the OOB Delete node. They vanish from the Revit UI as desired but they live on in the database to be picked up again by the Clockwork node as Zombie parameters.
In Rhino.Inside Revit I can collect the vanilla project parameters and project parameters from shared parameters but I can only delete the vanilla project parameters, but those must definitely be gone from the database as RIR doesn’t collect them anymore.
In Python in Dynamo, i can collect all the parameters, delete both the vanilla and project parameters from shared parameters, but they all live on as zombie parameters (this is the case with the OOB, GeniusLoci and Springs delete nodes).
What I’m looking for is killing these redundant vanilla and project from shared parameters the way you can with the Lookup tool. Any advice please? (This seems to be an API question?)
Thanks!
