Message 1 of 3
Get the width and height of 3D View

Not applicable
10-08-2019
04:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
private void UserControl_Loaded(object sender, RoutedEventArgs e) { FilteredElementCollector fec = new FilteredElementCollector(doc).OfClass(typeof(View3D)); foreach (Element elem in fec) { View3D v = elem as View3D; if (!v.IsTemplate) List3DView.Items.Add(v.Name); } }
I could show a list of all 3D views in combobox. But I don't know how display width and height in textbox. How I can do this?