please provide a sample revit project and your sample code so I can help.
Note also that you have to save the orientation first in order to be able to apply it again.
please provide a sample revit project and your sample code so I can help.
Note also that you have to save the orientation first in order to be able to apply it again.