let's say I have a tool that needs a drawn curve to work on it, resample attributes modifications and so on.
My goal is to have one state, named "modify state" for instance, that allows me to have all the handles and parameter interfaces to work on that curve, and one state to actually draw that curve with a "stroke state".
The "modify state" should have a button that clears the previous stroke and sets the tool into the "stroke state" until the stroke is finished. Now it should return to the "modify state"
Is that possible at all?
I tried this one in a the python state:
self.scene_viewer.setCurrentState("sidefx_stroke") # assuming that I can access this one as well self.scene_viewer.enterCurrentNodeState()
print self.scene_viewer.currentState()
any hints where to look at?
thanks for You time