Announcement

Collapse
No announcement yet.

Building Coder: Efficiently Retrieve Crop Box for Given View

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Building Coder: Efficiently Retrieve Crop Box for Given View

    Konrads Samulis shared a very nice solution to retrieve the crop box for a given view using a highly efficient parameter filter inhis comment on rotating a plan view.In digging up this old thread, I found something quite curious in the API in 18.1, that I'm not sure was there before.The method of using a temporary transaction (with rollback) to find the element id of the crop box was taking a very long time on a large model, so I did a bit of digging to see how I could improve it.I noticed that in the built-in parameter ID_PARAM of the crop box contains the element id of the view it's in.E.g., the crop box 'points' to the id of the view it is in using ID_PARAM...

    Click here to view the entire blog post.

Related Topics

Collapse

Working...
X