Q: Wedging preserving original value implemented?
6690 24 1- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
Seems to work now thanks!
I do notice that if I use the Orient parameter from the Torus (as an example) and use its String value (i.e. x, y, z) I will get errors on the Wedge node:
The Int version of that parm works though.
Calling parm.set(“x”) etc does work, so not sure why it's failing.
I do see where “bad” data could be entered in the Wedge top though when wedging strings, perhaps this could be a little more artist friendly if that happens?
17.5.253 Linux
Cheers,
Peter B
I do notice that if I use the Orient parameter from the Torus (as an example) and use its String value (i.e. x, y, z) I will get errors on the Wedge node:
Error running callback 'onDeselectTask': The attempted operation failed. Invalid menu item Traceback (most recent call last): File "/opt/software/hfs17.5/houdini/pdg/types/utils/wedge.py", line 92, in onDeselectTask top_node.hdaModule().restoreAllCallback(args) File "opdef:/Top/wedge?PythonModule", line 87, in restoreAllCallback File "opdef:/Top/wedge?PythonModule", line 62, in _restoreImpl File "/opt/software/hfs17.5/houdini/python2.7libs/houpythonportion/ParmTuple.py", line 72, in set self._set(value) File "/opt/software/hfs17.5/houdini/python2.7libs/hou.py", line 45860, in _set def _set(*args): return _hou.ParmTuple__set(*args) OperationFailed: The attempted operation failed. Invalid menu item
The Int version of that parm works though.
Calling parm.set(“x”) etc does work, so not sure why it's failing.
I do see where “bad” data could be entered in the Wedge top though when wedging strings, perhaps this could be a little more artist friendly if that happens?
17.5.253 Linux
Cheers,
Peter B
Cheers,
Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
Peter Bowmar
____________
Houdini 20.5.262 Win 10 Py 3.11
- tpetrick
- Staff
- 600 posts
- Joined: May 2014
- Offline
- pbowmar
- Member
- 7046 posts
- Joined: July 2005
- Offline
- Shura76
- Member
- 2 posts
- Joined: March 2012
- Offline
Hello, I found dangerous things. If you capture parameter and it contains expression, variable or link. You will get evaluated value and you can't restore real values. For example, if the captured parameter contains $F4 after Restore you will get digit not variable $F4. So now it very dangerous to use this.
-
- Quick Links