Highlight elements while editing without regeneration impact
I'd like to be able to highlight geometry for user reference while they're editing a FeatureScript but without impacting the overall regeneration performance. The closest way I know of doing this is with debug(), but that adds ~1ms regeneration per face or vector and ~6ms per direction even during normal part regeneration when nothing is being displayed.
Is this possible to do? Maybe some way to detect if the user has the custom feature open and only reaching the debug() if so?
Best Answer
-
Include a checkbox to display debugs or not, and if checked, do a reportfeaturewarning telling them that performance will be impacted if left on.
0
Answers
-
Include a checkbox to display debugs or not, and if checked, do a reportfeaturewarning telling them that performance will be impacted if left on.
0 -
I was hoping for a better solution, but I guess that's as good as it gets. Thanks!
0 -
That's also my solution to this issue. "preview" mode.
2

