Zoom to Element does not highlight sufficiently to identify some elements #1522
-
We have some code that identifies assets in the iModel and then collects the elements and zooms to those elements. For some assets it is extremely difficult to identify the elements. This is the code we are using to zoom to and emphasize the elements ...
However, we notice that "selecting" the elements highlights the elements much better, but this seems to be through IModelConnection rather than IModelApp ... so having to pass the connection into the class asset-viewer.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I am probably dense, but I don't fully understand the problem. |
Beta Was this translation helpful? Give feedback.
-
Sounds like you might want to enable wantEmphasise for EmphasizeElements to further "hilite" the elements: /** If true, all overridden and emphasized elements will also have the "emphasis" effect applied to them. This causes them to be hilited using the current [[Viewport.emphasisSettings]]. */ |
Beta Was this translation helpful? Give feedback.
-
turn on wantEmphasis |
Beta Was this translation helpful? Give feedback.
Sounds like you might want to enable wantEmphasise for EmphasizeElements to further "hilite" the elements:
/** If true, all overridden and emphasized elements will also have the "emphasis" effect applied to them. This causes them to be hilited using the current [[Viewport.emphasisSettings]]. */
public wantEmphasis = false;