Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NewFamilyInstance Door always showing "default" orientation after it is created even though orientation is not correct.

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Maltezc
422 Views, 2 Replies

NewFamilyInstance Door always showing "default" orientation after it is created even though orientation is not correct.

Hi all, I'm dealing with doors and whenever I create a newfamilyinstance of a door, the door facing orientation will always come out  {(0.000000000, 1.000000000, 0.000000000)} even if the wall vector it is being created on is  (0,1,0)

 

Does anyone know how to deal with this? It seems as though the door is rotated after it is created?

Labels (1)
2 REPLIES 2
Message 2 of 3
sragan
in reply to: Maltezc

I've never tried to insert doors, so I'm guessing here, but aren't they hosted to walls?  So wouldn't they get their initial orientation from the wall?

 

It seems like you would use something like flipFacing or flipHand to mirror the door to get the orientation you want.

 

 

Message 3 of 3
Maltezc
in reply to: sragan

I figured out what it was. 

 

It seems like no matter what, when a door is created, it has a facing orientation of 0,1,0 and a hand orientation of 1,0,0. this happens even if the wall orientation is 1,0,0 or -1,0,0 or 0,1,0 or 0,-1,0.

 

You have to tackle it from there to get the correct hand orientation and the face orientation that you want.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community