Message 1 of 14
Changing an Element's Phase Created Parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm attempting to change the Phase Created parameter of all elements to "Existing". Sounds as simple as either of the following but neither is working.
element.get_Parameter(BuiltInParameter.PHASE_CREATED).Set(phaseCreated.Id); element.get_Parameter(BuiltInParameter.PHASE_CREATED).SetValueString("Existing");
I've looked at many threads including the ones below but nothing works.
https://forums.autodesk.com/t5/revit-api-forum/setting-an-elements-phase/m-p/6224664#M15088
https://thebuildingcoder.typepad.com/blog/2010/09/filter-for-view-and-phase.html
Thanks for the help.