Submitted by bhavik231187 on Mon, 12/19/2016 - 21:41
Forums:
Hi ,
There are number of views available in one sheet and I want to get active view.
So how to get it thought journal?
Hi ,
There are number of views available in one sheet and I want to get active view.
So how to get it thought journal?
re: active view
Are you looking for the drafting view that is "active for sketching"?
If so, the drafting view object has a .IsActiveForSketching property that you can check. One method would be to iterate through the views on the drawing sheet looking for the active view. It is my understanding that there can be at most one active view for sketching - activating a view will deactivate the previously active view. Also, it is possible that none of the drafting views are active for sketching.
Active View
It is working as expected.
Thanks..
Bhavik S.