Skip to content

Instantly share code, notes, and snippets.

@giobel
Last active July 21, 2022 04:55
Show Gist options
  • Save giobel/798bfb84a6ffc23e8e8935379e2acde9 to your computer and use it in GitHub Desktop.
Save giobel/798bfb84a6ffc23e8e8935379e2acde9 to your computer and use it in GitHub Desktop.
Tekla Snippets
## C# Snippets for Tekla ##
ModelViewEnumerator viewEnumerator = ViewHandler.GetVisibleViews();
View activeView = null;
while (viewEnumerator.MoveNext())
{
View view = viewEnumerator.Current;
activeView = view;
//MessageBox.Show(view.Name);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment