I have a more difficult question this time =P Maybe someone here knows.
I’m trying to get the console to print “Hello World!” every time a spline object has been created with the Freehand spline tool. Is this only possible by making a plugin, or can it be accomplished through a Python script?
I’m thinking the script (if possible) would be something really complicated, like: start the script with making Freehand spline the active tool (doc.SetAction(14055)???). Then check when a spline object becomes available in the Object Manager while using that tool. And then repeat for everytime the mouse is released (EditorWindow.MouseDragEnd()???). But this would require the script to somehow check all the time if a spline object becomes available in the Object Manager. And also check for when we stop using the Freehand spline tool, and if so stop the script.
Maybe someone can shed some light on this, cause I’m really lost right now. If only to point me in the right direction. I’d really appreciate any help. I’ve lost two nights sleep over this ha ha =D. Scripting, while very difficult is also very addictive I must say.