On 19/11/2014 at 16:49, xxxxxxxx wrote:
I'm currently researching plugins and how to build them. I'll be honest, they don't make it look easy.. especially when compared to just running a script.
I have a script, with a dialog that has 3 buttons on it. Let's say X, Y, and Z.
Here's the dilemma.. I can get the script to execute what I want to happen when a button is pressed. However, I simply cannot get the object that's being manipulated to update in the viewport until I completely close the dialog box and manually update the viewport. Only then will I be able to see the effect of the button press.
Things I've tried to circumvent this issue so far:
Tried an asynchronous dialog - result is buttons no longer work.
Attempted to quickly build a plugin instead - result is ..........umm.. this is extremely complicated looking..
After doing some research, I think the toolData plugin would be the way to go.. right? After each button press, the selected object would update in the viewport. Also, the UI could be dockable. Am I headed in the right direction?
I have a lot of questions about building a plugin.. because the documentation is very cryptic currently.
I want to help answer people's questions on here as well.. but I simply do not know enough yet.
Any help would be appreciated.