Hello,
I am doing the following all in python:
- Associate a rule file with a shape
- Generate the model
- Create an new rule file
- Associate the new rule file with the shape
But when I try to regenerate the model using the new rule file, it seems to fail unless I put a delay in front, as in:
time.sleep(10)
shapes = ce.getObjectsFrom(ce.scene, ce.isShape)
ce.generateModels(shapes)
Is there a reason why the delay is needed? I might be doing something wrong here.
Thanks,
Robert