Wed, 11/08/2023 - 01:22
Forums:
Hi there,
I'm looking for the best way to update a shape that is already displayed. I've noticed that pythonocc seems to use EraseAll, which only hides shapes, not remove them. I was considering saving the AIS_Shape output when you use DisplayShape and using it as a reference, but I'm finding it hard to just update a shape instead of removing that specific shape, adding a new shape, and then updating the display.
Are there any efficient examples in pythonocc or OpenCascade I could reference?