Status = model.export 'C:/test. Sketchup.active_model.add_observer(ProtohypeModelObserver.new) Set an internal flag to indicate the state of your script and break early when you are in the process of exporting. ![]() An export also triggers onSaveModel (the API docs isn't clear on this, I'll add an issue internally), so your export within the observer event will trigger the infinite loop. Its as if youve removed some data theyre looking for - however, it may be unrelated if SketchUp has become unstable due to some corruption somewhere.
0 Comments
Leave a Reply. |