Gemini4147
Gemini4147
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Display of a Specified Work Item of a Top Node by Python Scrips Feb. 28, 2024, 7:59 a.m.
Hey,
Is there an easy way to display a specific work item of a Top Node in Houdini Python ? For example switch to a wedge at a Labs File Cache (yellow dots bellow).
Thanks,
Sz
Is there an easy way to display a specific work item of a Top Node in Houdini Python ? For example switch to a wedge at a Labs File Cache (yellow dots bellow).
Thanks,
Sz
How not to spoil playback cache with setPlaybackRange July 9, 2023, 9:16 a.m.
Hi,
I use a solver in my scene and set the playback range with a python script (hou.playbar.setPlaybackRange). How could it be set so that the playback cache should remain unchanged ? With a dop network the cache remains untouched.
Thanks in advance,
G
I use a solver in my scene and set the playback range with a python script (hou.playbar.setPlaybackRange). How could it be set so that the playback cache should remain unchanged ? With a dop network the cache remains untouched.
Thanks in advance,
G
Hotkey Assignment Returns False June 13, 2023, 6:39 p.m.
Hi,
A have a question about hotkey assignment. I simply want to assign a hotkey to an existing shelf tool with the python line above.
Generally It returns False and seems like that the hotkey symbol is missing. If I go to the Hotkey Editor and set it manually and clear right after that the same python line works. So my question is can I update, create the hotkey symbol or define, assign it to an existing shelf tool command ?
hou.hotkeys.addAssignment('h.tool:display_viewer_1','Pad1')
I checked in Houdini built in module where the editor runs but I did not find any other hou.hotkey method what is used.
A have a question about hotkey assignment. I simply want to assign a hotkey to an existing shelf tool with the python line above.
Generally It returns False and seems like that the hotkey symbol is missing. If I go to the Hotkey Editor and set it manually and clear right after that the same python line works. So my question is can I update, create the hotkey symbol or define, assign it to an existing shelf tool command ?
hou.hotkeys.addAssignment('h.tool:display_viewer_1','Pad1')
I checked in Houdini built in module where the editor runs but I did not find any other hou.hotkey method what is used.
def _addkey_action_accept(self, key, commandItem=None): if key is None and self.addKeyWidget is not None: key = self.addKeyWidget.text() if commandItem is None: commandItem = self._getCurrentCommandItem() if commandItem is not None: result = hou.hotkeys.addAssignment(commandItem.symbol, key) if not result: self._addkey_action_changed(key, commandItem) else: self._setKeysChanged(True) # update the list... currentCommandItem = self._getCurrentCommandItem() currentCommandItem.keys = \ hou.hotkeys.assignments(currentCommandItem.symbol) self._updateKeylist(currentCommandItem.keys) self._update_assignment_window(self.full_conflict_window) self._updateVirtualKeyboard(currentCommandItem.symbol, currentCommandItem.keys) for index in self.commands.selectionModel().selectedIndexes(): self.commands.update(index)