We discovered an odd behavior with a rotated Crop Region when applying a View template from the Enable Temporary View Properties tool.
Here, I have a rotated Crop Region done the most common way:
Here's the result after the rotation, which is what we want:
Now, when I apply a View Template using the Enable Temporary View Properties tool, I get the following result:
Notice how it rotated the view back with its rotation center at the Project Base Point? This is caused by the Orientation parameter in the View Template being set to "Enable".
Now, when we restore the Temporary View Properties, here's what happens:
The view gets rotated back but the Crop Region remained at its Temporary View Properties location, which is incorrect!
Note that unchecking the "Enable" checkbox from the Orientation parameter in the View Template would not cause the Crop Region to move like that.
When simply changing the View Template from the Properties window, we do not get this problem. Here's the View Template applied:
Here's the original View Template is retored:
From what I understand, those two ways of applying a View Template should get the same results, right?
So, what's going on with the Temporary View Properties messing up the Crop Region? Can anyone help explaining what may cause this?
Thanks
Solved! Go to Solution.
Are you doing anything programmatically yourself, or just using the standard Revit user interface?
If you are not doing anything programmatically, this is not the best place to ask such a question.
Please note that this discussion forum is dedicated to programming Revit using the Revit API.
Therefore, you cannot expect an answer to a question such as yours relating to installation, product usage or end user support issues here.
You should try one of the non-API Revit product support discussion forums instead for that:
The people there are much better equipped to answer your question than us programming nerds.
I hope this clarifies.
Thank you for your cooperation and understanding.
Best regards,
Jeremy
This thread was moved to the Revit Structure forum.
Can't find what you're looking for? Ask the community or share your knowledge.