hi all,
i have an exception Standard_NoSuchObject when the Remove command is executed:
po_ais_context->OpenLocalContext ();
po_ais_shape = new AIS_Shape(o_topo_edge);
po_ais_context->Display (po_ais_shape, true);
po_ais_context->Remove (po_ais_shape);
what is a reason of that?
best regards,
Author
Discussion
1 archived reply
Posts are displayed in their archived order.
01Commenter-1
Hello Author,
The same problem happened to me after I upgraded from OCCT 6.7.9 to 6.8.0. Only solution I found was to close the context (po_ais_context->CloseAllContexts()) before removing the shape. I'm not even sure if removing something from a closed context makes sense.