Hi Everyone. I'm trying to run point selector right after primitive selector. Point selector runs but it looks like it stuck with primitive selection type even thought I specified it to be point.
If I bind those selectors to a keyboard event like one when pressing ctrl E and another ctrl+T, it works but if I use just ctrl+E and call second selector after first one it doesn't work. Perhaps someone knows what the issue might be ?
I also tried to stop the selector before running another one but no luck.
template.bindGeometrySelector("Select curve you want to edit",
allow_drag=False,
quick_select=True,
auto_start=False,
use_existing_selection=False,
consume_selection=False,
secure_selection=hou.secureSelectionOption.Ignore,
geometry_types=,
name="curve_select")
template.bindGeometrySelector("Edit the curve",
allow_drag=False,
quick_select=True,
auto_start=False,
use_existing_selection=False,
consume_selection=True,
secure_selection=hou.secureSelectionOption.Ignore,
geometry_types=,
name="curve_edit")
self.scene_viewer.triggerStateSelector(hou.triggerSelectorAction.Start, name='curve_select')
...
self.scene_viewer.triggerStateSelector(hou.triggerSelectorAction.Start, name='curve_edit')
Python States : Run one selector after another issue
195 0 1-
- maxpayne
- Member
- 57 posts
- Joined: Dec. 2010
- Offline
-
- Quick Links
