I am trying to set the door to the left or right or up or down automatically, and Im not sure how to do it, I thought I can set the parameters HandFlippet to True or False, as well as the parameter HandFlipped but it doesnt seems to be possible.
or
door.HandFlipped = True
door.FacingFlipped = True
When I also tried to mirror the door by using the MirroElement method doesnt seem to work either
ElementTransformUtils.MirrorElements(doc, icollection, plane, False)
How could I possibly automate the flipping and mirroring of a door or what I am doing wrong? Any light on the issue?
FacingFlipped and HandFlipped are both read-only properties. There are separate methods to set their values - flipFacing() and flipHand(). You can find them both on this Revit API Docs page, which I highly recommend for API questions likes this.
I think Clockwork also has nodes for this already.