Message 1 of 4
Displaying only a single element inside a PreviewControl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am wondering how to show/shift the focus to a single element inside a PreviewControl in a modal dialog. I know that the PreviewControl can be used to display one of the View Class Objects in Revit, but I can't seem to find a way to only view a single element inside the PreviewControl.
In the past, I have used the UIDocument.ShowElements() and its overloads in order to show and zoom into a specific element, do I need to incorporate the UIDocument.ShowElements() into the PreviewControl? If that's the case, how should I do it?
Thanks in advance!