You can get at it through the API, but it is easiest to just use a VBScript formula property set definition.
The definition will depend if you have 2006 and want xref ability.
For ADT2004 define a property set for windows with an automatic property of "Handle".
Then define a formula property named "Swing" and use the following for it's definition. Be sure to use the UI to pick "Handle" so that it appears in bold, cutting and pasting references to other properties does not work.
**** Start 2004 Script
On Error Resume Next
RESULT="--"
Set app = GetObject(,"AutoCAD.Application.16")
set window = app.ActiveDocument.HandleToObject([Handle])
set anchor = window.GetAnchor
if anchor.FlipX then
RESULT = "LEFT"
else
RESULT = "RIGHT"
end if
***** end 2004 script
For 2006 and Xref usage, define a property set for doors. Add the automatic property "ObjectID" and add a formula property called "Swing" with the following definition.
****** Start 2006 script
On Error Resume Next
RESULT="--"
Set app = GetObject(,"AutoCAD.Application.16.2")
set window = app.ActiveDocument.HandleToObject([ObjectID])
set anchor = window.GetAnchor
if anchor.FlipX then
RESULT = "LEFT"
else
RESULT = "RIGHT"
end if
****** end 2006 script
If you need me to post a drawing instead, just let me know.
Chris Arps