How programmatically check is Topography visibility turn on in model categories?

How programmatically check is Topography visibility turn on in model categories?

Anonymous
Not applicable
496 Views
2 Replies
Message 1 of 3

How programmatically check is Topography visibility turn on in model categories?

Anonymous
Not applicable

Hi!

How programmatically check is Topography visibility turn on or not in model categories in view? I use c#.

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

aignatovich
Advisor
Advisor
Accepted solution

Hi! Try this:

var isVisible = !view.GetCategoryHidden(new ElementId(BuiltInCategory.OST_Topography));
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks for your reply! I have to change your code a little bit, but anyway method GetCategoryHidden is what i am looking for.

0 Likes