I tried to change Phase Name with Element.SetParameterByName but then I found that Phase Name is a read-only parameter,
Is there any way I could walk around this issue?
Have you tried Element.SetName from package Clockwork?
Thanks for your response but the result show it fail,
Yup, just tried it myself. This is what the API returns:
This element does not support assignment of a user-specified name.
Which is a bit weird since the Revit API documentation says we can set a phase name. Oh well.
Hi, I think the right method with phases is to assign a new one to the elements and delete the old one afterwards.