Hey folks! Has anyone been able to execute the ‘Accept Primary’ function via dynamo/python? I see a lot of documentation on how to change the primary option, but not how to accept it. Thanks for the help in advance!
Unfortunately, Revit API access is not currently available for this feature.
Feature Request: CF-66
References:
https://forums.autodesk.com/t5/revit-api-forum/expose-design-options-settings/td-p/6450298
https://forums.autodesk.com/t5/revit-api-forum/delete-designoptionset/td-p/5831338
https://forums.autodesk.com/t5/revit-api-forum/how-to-quot-accept-primary-quot-on-design-options-via-api/td-p/6043340
Bummer! It seems like I can workaround it by (1) copying the elements into the main model [would I be able to SetParameterValue for the Design Option of the elements?], and (2) deleting the Option&Option Set. Is there a way to sequence that correctly so that the Option & Set aren’t deleted before the elements are copied?
Thanks for the response!


