Back in the 2016 I got this reply from SideFX:
"I am not seeing a problem with this. It is working fine for me."
But I still don't know what the exact use is. I learnt to live with (or rather without) it
Btw there is a neat function in the Animation Editor, called Snapshots:
https://www.sidefx.com/docs/houdini/ref/panes/changraph.html#snapshots-menu [www.sidefx.com]
Found 145 posts.
Search results Show results as topic list.
Technical Discussion » Revert to previous value (Shift+RMB)
- ikoon
- 146 posts
- Offline
Technical Discussion » Viewport Xform Handle manipulation & Python Callback (HDA)
- ikoon
- 146 posts
- Offline
Technical Discussion » Viewport Xform Handle manipulation & Python Callback (HDA)
- ikoon
- 146 posts
- Offline
For this case, I will use a classic Handle and hou.nodeEventType.ParmTupleChanged
Thank you very much again.
I am still curious if we can set up an event handler (Python Callback) on those "classic" Handles, but it seems that we can't.
Thank you very much again.
I am still curious if we can set up an event handler (Python Callback) on those "classic" Handles, but it seems that we can't.
Edited by ikoon - March 25, 2021 18:08:00
Technical Discussion » Viewport Xform Handle manipulation & Python Callback (HDA)
- ikoon
- 146 posts
- Offline
Marc thank you very much for your answer.
Please, is it possible to get a Python Callback Script called while manipulating the "classic" handle in the viewport? Without writing a custom viewer state?
I did this:
- bind the "classic" handle to a parm
- set Callback Script to that parm
But that Callback Script is called only while editing the parm value in the Parameters Pane (MMB Ladder or keyboard entry, or scroll wheel).
Please, is it possible to get a Python Callback Script called while manipulating the "classic" handle in the viewport? Without writing a custom viewer state?
I did this:
- bind the "classic" handle to a parm
- set Callback Script to that parm
But that Callback Script is called only while editing the parm value in the Parameters Pane (MMB Ladder or keyboard entry, or scroll wheel).
Technical Discussion » Viewport Xform Handle manipulation & Python Callback (HDA)
- ikoon
- 146 posts
- Offline
I was used to create the "old" handles to my HDAs. But now, for the first time, I need a "realtime" python callback, while user is manipulating the Xform handle.
Should I bind viewport callback to the "oldschool" handle? Should I do that in OnCreated script?
I managed to create a Viewer State for my HDA, create a Xform handle, and I am geting onParmChangeEvent() readings of handle parameters, but so far I did not manage to bind the handle to the object's parm interface. (the Xform always emerges at {0,0,0})
Please, what is the preferred way in this situation?
Thank you very much.
Should I bind viewport callback to the "oldschool" handle? Should I do that in OnCreated script?
I managed to create a Viewer State for my HDA, create a Xform handle, and I am geting onParmChangeEvent() readings of handle parameters, but so far I did not manage to bind the handle to the object's parm interface. (the Xform always emerges at {0,0,0})
Please, what is the preferred way in this situation?
Thank you very much.
Houdini Lounge » hotkey for floating parameter window
- ikoon
- 146 posts
- Offline
Hi, you may set the hotkey here:
Edit > Hotkeys:
Houdini / Panes / Network Editor / Node Menu / Parameters
Although, sometimes the hotkey does not work until I right click on any node. Then it starts to work again. The same applies to other hotkeys that I have in the Node Menu. Probably it is some "focus" issue.
Edit > Hotkeys:
Houdini / Panes / Network Editor / Node Menu / Parameters
Although, sometimes the hotkey does not work until I right click on any node. Then it starts to work again. The same applies to other hotkeys that I have in the Node Menu. Probably it is some "focus" issue.
Houdini Lounge » What is FBIK?
- ikoon
- 146 posts
- Offline
Edited by ikoon - Nov. 24, 2020 09:45:47
Technical Discussion » SideFX please add a search tag system , VEX wrangle presets
- ikoon
- 146 posts
- Offline
Hi Vincent, no mention of new editor in 18.5 sneak peek, but this looks nice:
https://www.patreon.com/posts/42395230 [www.patreon.com]
https://www.patreon.com/posts/42395230 [www.patreon.com]
Technical Discussion » SideFX please add a search tag system , VEX wrangle presets
- ikoon
- 146 posts
- Offline
Hi Vincent, I made this “tool” for myself:
https://streamable.com/06r871 [streamable.com]
It is a python script, which goes through my VEX library and creates Shelf Tool for each vex snippet. The Shelf tool (searchable in the Tab menu) creates new wrangle. It is a bit cumbersome. If you RFE any search tag system, please post the RFE ID here, I will gladly vote for it too.
https://streamable.com/06r871 [streamable.com]
It is a python script, which goes through my VEX library and creates Shelf Tool for each vex snippet. The Shelf tool (searchable in the Tab menu) creates new wrangle. It is a bit cumbersome. If you RFE any search tag system, please post the RFE ID here, I will gladly vote for it too.
Houdini Lounge » How to turn on Reference Plane by default?
- ikoon
- 146 posts
- Offline
Hi Jerry, to set Construct Plane on as default, you could put this python code in the 123.py or 456.py
More information about the 123.py and 456.py is here:
https://www.sidefx.com/docs/houdini/hom/locations.html#startup [www.sidefx.com]
import hdefereval def functionToBeExecutedOnStartup(): for pane in hou.ui.curDesktop().paneTabs() : if pane.type() == hou.paneTabType.SceneViewer : cplane = pane.constructionPlane() cplane.setIsVisible(True) # executeDeferred, because we have to wait for the UI hdefereval.executeDeferred(lambda: functionToBeExecutedOnStartup())
More information about the 123.py and 456.py is here:
https://www.sidefx.com/docs/houdini/hom/locations.html#startup [www.sidefx.com]
Houdini Lounge » How to reset hou.ui.displayConfirmation suppression?
- ikoon
- 146 posts
- Offline
Houdini Lounge » How to choose which scene view pane to be an active one
- ikoon
- 146 posts
- Offline
I tried to create the 456.py script. We also have to check, if the swap is needed. Also the execution probably has to be deferred, because we have to wait for the UI to be loaded? I am open for any comments or recommendations as I am no python guru. Especially the deferred execution and lambda is still a bit mysterious for me. Anyways, this works in my case:
# this is the 456.py file, located here: # C:\Users\NAME\Documents\houdini18.0\scripts\456.py # https://www.sidefx.com/docs/houdini/hom/locations.html#startup import hdefereval def functionToBeExecutedOnStartup(): # check if swap is needed # the top left panetab in my "wrong swapped desktop" is the ChannelEditor) if hou.ui.curDesktop().panes()[0].tabs()[0].type() == hou.paneTabType.ChannelEditor : hou.ui.curDesktop().panes()[2].splitSwap() # executeDeferred, because we have to wait for the UI? hdefereval.executeDeferred(lambda: functionToBeExecutedOnStartup())
Houdini Lounge » How to choose which scene view pane to be an active one
- ikoon
- 146 posts
- Offline
Hi asuralhp, it is hardcoded, for example here (image is attached):
C:\Program Files\Side Effects Software\Houdini 18.0.353\houdini\python2.7libs\toolutils.py
You could probably find all those tools and edit them. Or RFE this.
You can also create 456.py script and swap your Scene Viewer panes on each scene load. I mean … you save the Desktop in a “wrong swapped way” and on each scene load (456) you swap it to the “right way”. Something like this:
C:\Program Files\Side Effects Software\Houdini 18.0.353\houdini\python2.7libs\toolutils.py
You could probably find all those tools and edit them. Or RFE this.
You can also create 456.py script and swap your Scene Viewer panes on each scene load. I mean … you save the Desktop in a “wrong swapped way” and on each scene load (456) you swap it to the “right way”. Something like this:
hou.ui.curDesktop().panes()[2].splitSwap()
Edited by ikoon - July 3, 2020 02:27:54
Houdini Lounge » Enable Lock View to Camera in Python/Hscript
- ikoon
- 146 posts
- Offline
Hi, I am not sure in which version the lockCameraToView() method has been implemented (probably 17.0 or later), but you need to add the argument, True or False into the lockCameraToView()
hou.ui.paneTabOfType(hou.paneTabType.SceneViewer).curViewport().lockCameraToView(True)
hou.ui.paneTabOfType(hou.paneTabType.SceneViewer).curViewport().lockCameraToView(True)
Houdini Indie and Apprentice » View all animated parameters/channels in a project
- ikoon
- 146 posts
- Offline
Technical Discussion » Ladder values MMB - accidental unwanted change of decimals
- ikoon
- 146 posts
- Offline
Thank you very much pabcou. I was hoping that I am missing a setting or a key combination. Your explanation fits exactly.
Technical Discussion » Ladder values MMB - accidental unwanted change of decimals
- ikoon
- 146 posts
- Offline
Hello, I attach a part of the Houdini 18 Sneak Peek.
Please, @Ondrej, how is it possible that the magnitude did not change, while cursor accidentally moved over the 1.0 magnitude?
Please, @Ondrej, how is it possible that the magnitude did not change, while cursor accidentally moved over the 1.0 magnitude?
Technical Discussion » Ladder values MMB - accidental unwanted change of decimals
- ikoon
- 146 posts
- Offline
Thank you very much for your answers. In Houdini, the Shift and Ctrl are used in different ways:
A) MMB wheel on a numerical parameter:
- Shift scroll: makes the change 10 times smaller (precise)
- Ctrl scroll: makes the change 10 times bigger
B) Dragging the handles in the viewport:
- Shift drag: makes the change 10 times smaller (precise)
- Ctrl drag: constraints the change
C) MMB Ladder:
- Shift drag: unconstraints the multiplier
- Ctrl drag: unused
Personally, I like A and B. My dream would be to have this behaviour, as in the picture
It would make the desired changes fast, and also Shift (for precise) and MMB Ctrl (for 10x) will be consistent with MMB wheel and handles.
A) MMB wheel on a numerical parameter:
- Shift scroll: makes the change 10 times smaller (precise)
- Ctrl scroll: makes the change 10 times bigger
B) Dragging the handles in the viewport:
- Shift drag: makes the change 10 times smaller (precise)
- Ctrl drag: constraints the change
C) MMB Ladder:
- Shift drag: unconstraints the multiplier
- Ctrl drag: unused
Personally, I like A and B. My dream would be to have this behaviour, as in the picture
It would make the desired changes fast, and also Shift (for precise) and MMB Ctrl (for 10x) will be consistent with MMB wheel and handles.
Edited by ikoon - Oct. 24, 2019 09:40:05
Technical Discussion » Ladder values MMB - accidental unwanted change of decimals
- ikoon
- 146 posts
- Offline
Hello,
does this also happen to you? As in the picture. I am not sure, if this RFE is good for everyone. For me a preference would be very nice:
“Do not change ladder's order of magnitude, once the change of value has started”
To improve the ladder's functionality, it might be nice to have Shift-drag values to be by order smaller, and Ctrl-drag values by order bigger.
does this also happen to you? As in the picture. I am not sure, if this RFE is good for everyone. For me a preference would be very nice:
“Do not change ladder's order of magnitude, once the change of value has started”
To improve the ladder's functionality, it might be nice to have Shift-drag values to be by order smaller, and Ctrl-drag values by order bigger.
Edited by ikoon - Oct. 15, 2019 03:21:06
Houdini Indie and Apprentice » HQueue, Windows, "Accessing ... Hython"
- ikoon
- 146 posts
- Offline
Hi Luke, thank you for the insights. Good tips!
As regards setting the service Log On, I do it like this:
https://forums.odforce.net/topic/42270-hqueue-cannot-find-file-but-manually-hython-finds-it/?do=findComment&comment=203626 [forums.odforce.net]
Here is another picture of it:
Btw for me, it is much faster to have IP numbers everywhere, instead of computer names (strings).
And btw … sometimes windows “forget” the remote drive credentials. It helps to include the machine IP slash user name, like this:
As regards setting the service Log On, I do it like this:
https://forums.odforce.net/topic/42270-hqueue-cannot-find-file-but-manually-hython-finds-it/?do=findComment&comment=203626 [forums.odforce.net]
Here is another picture of it:
Btw for me, it is much faster to have IP numbers everywhere, instead of computer names (strings).
And btw … sometimes windows “forget” the remote drive credentials. It helps to include the machine IP slash user name, like this:
Edited by ikoon - Sept. 20, 2019 00:52:36
-
- Quick Links