Revit 2021 Door Orientation – Archilab Door Set Handling

SHARE
Share on email
Share on linkedin
Share on facebook
Share on whatsapp

I tried to use the door set handling node of the Archilab package to get the door orientations in a project.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

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.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

Now look at the result generated for D02 below:

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

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.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

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.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

RMC to edit the node.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

Once inside the custom node, edit the python script to see its contents.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

Although the node is not working as desired, there is still a lot to learn from it.

Autodesk, Micrographics, Revit 2021, Door Set Handling, Archilab

If you need help adopting Revit, Dynamo, and BIM in your practice, please let us know if we may be of assistance.

 

RECENT ARTICLES