Crop Region behavior with View Template applied from Enable Temporary Apply View Properties

Crop Region behavior with View Template applied from Enable Temporary Apply View Properties

Anonymous
Not applicable
854 Views
3 Replies
Message 1 of 4

Crop Region behavior with View Template applied from Enable Temporary Apply View Properties

Anonymous
Not applicable

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:

 

Rotate Crop Region.png

 

Here's the result after the rotation, which is what we want:

 

Result of Rotated Crop Region.png

 

Now, when I apply a View Template using the Enable Temporary View Properties tool, I get the following result:

 

Apply View Template with Temporary View Properties.png

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".

 

Orientation setting for View Template.png

Now, when we restore the Temporary View Properties, here's what happens:

 

Result after Restore View Properties.png

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:

 

Apply View Template Directly.png

 

Here's the original View Template is retored:

 

Restore to Default View Template.png

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 

 

0 Likes
Accepted solutions (1)
855 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

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:

 

https://forums.autodesk.com/t5/revit-api-forum/this-forum-is-for-revit-api-programming-questions-not...

 

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

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 4

Anonymous
Not applicable

Noted. I will move my thread. Thanks for bringing that up.

0 Likes
Message 4 of 4

Anonymous
Not applicable
Accepted solution
0 Likes