Model Group Set Workset

Hello guys,
This should be pretty simple but I am not sure why does not work!
Warning:Element.SetParameterByName operation failed.
The best overloaded method match for ‘Revit.Elements.InternalUtilities.ElementUtils.SetParameterValue
(Autodesk.Revit.DB.Parameter,double)’ has some invalid arguments
Any ideas???


Dyn attached
22_Set Unit Groups in Unit Internal Workset_v1.dyn (52.6 KB)

Fixed, wrong object type! :wink:

1 Like