Delete dimensions on families

Is it possible to delete dimensions on the family editor using dynamo?

I am trying this workflow to bulk delete dimensions, delete parameters and apply parameter values to families.

I am having two problems:

I want to delete parameters in families, if the parameter exists, I am having problems with the Orchid node parameter.delete.

The other issue is that we cannot delete dimensions from the families.

Any ideas how can we approach this issues?

Dyn Attached.

Delete Dims and Set Parameter Value.dyn (26.9 KB)

The Orchid node, There was something wrong with dynamo on my pc, working fine on another pc.
The delete thing not sure if this is possible!!!