Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am wondering if it is possible to call a Python function inside a Blender when an object with a name that starts with foo_ gets duplicated? Thanks in advance.
$\begingroup$You are probably looking for this: blender.stackexchange.com/a/19669/7777 You just need to watch the number of objects inside a scene with this watcher.$\endgroup$
$\begingroup$I saw that answer, it would work, but i am new in python, so as I understand all i need to change is add_watcher() line, but how to watch the change in number of objects in scene?$\endgroup$
add_watcher()
line, but how to watch the change in number of objects in scene? $\endgroup$