I tried to use the door set handling node of the Archilab package to get the door orientations in a project.
It works well if doors are not toggled left to right or reversed. If their orientation must be changed, it is better to place a new door. Just rehosting the door does not reset the information. This is a problem. Shown below is the definition of doors. I have based my own criteria for the reversal of a door on the From Room property.
Now look at the result generated for D02 below:
Clearly this is a Left Hand Door, but look at the result that door set handling node of Archilab results in: Right Hand. In comparison with this result, my script gives the correct result, regardless how many times the modeler toggles the direction of the door.
I, therefore, prefer using my script, leveraging the script I got in Berlin to infer the door directly from mathematical first principles. In any case, the node is quite interesting from a programming point of view. One can edit the node to see what is in it. And no doubt, one can use the information in further ways if required.
Much of my understanding of Python and the Revit API has been gleaned from the examples kindly provided by Konrad K Sobon. If he had published zero-touch nodes the rest of us would have found it quite difficult to make headway programming against Revit in Dynamo Python nodes.
RMC to edit the node.
Once inside the custom node, edit the python script to see its contents.
Although the node is not working as desired, there is still a lot to learn from it.
If you need help adopting Revit, Dynamo, and BIM in your practice, please let us know if we may be of assistance.