The zebra display is not slow, so I’m not sure why this function call would be so slow? Does anyone know why calling this function in PostDrawObjects would be so slow? Is there a better way?
I figured it out. Enabling the visual analysis mode does the same thing, but orders of magnitude faster.
here is a snippet that enables zebra:
getter.GetMultiple(0, -1);
if (getter.Result() == GetResult.Cancel)
break;
foreach (ObjRef edgeObj in getter.Objects())
{
edgeObj
.Object()
.EnableVisualAnalysisMode(
VisualAnalysisMode.Find(
VisualAnalysisMode.RhinoZebraStripeAnalysisModeId
),
true
);