What I would like to happen is that every time I find a specific word in my loop, in this case “test”, have my script insert a model at a set location.(Could be multiple times like 10-20, I’m yet to set the desired locations)… It does not need to give the user control like it appears to be doing.
I was calling Sketchup.active_model.place_component(cdef) because I read it on a forum, I didn’t realise it gave user control.
Sorry again should I update the first post?
Thanks Blaine
Always refer to the API documents. In this case, the doc for that method is a bit vague. It should also warn you that it causes a undo commit, so it will disrupt a coder’s undo operation blocks.