I agree with @dbroad with regard to simply selecting all of the Doors and using the Properties palette to set the value of all of them at once, if this is a semi-occasional thing and is an independent action. But if this on one step in a multi-step process that you apply when converting, say, a new-work file to an existing-conditions file, for use in later renovation work, and you are trying to automate the entire process, then I can see the value in such a routine.
Unfortunately, it is not as simple as grabbing all of the Doors and changing the SwingAngle property. It appears that Doors of any Door Types have that property and it is not marked as being read-only or otherwise not editable, but attempting to set the value on all but five of the twenty types results in an error. Sorting those out will require more time than I have at the moment. (The Door Type is a property of the Door Style, not the Door object.)
If using the Properties palette works for your purposes, let us know (and give Doug the solution credit), and I will put this on my pile of interesting things to do when I finally get some free time. If not, let me know and I will try to find time to work on it - no promises on a completion time, though.
David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
