Jonathan de Blok

Jonathan de Blok

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Change file browser Jan. 14, 2020, 8:36 p.m.

jerry7
Jonathan de Blok
If you add this to your PARMmenu.xml

Which point should add this code?

Find the PARMmenu.xml and in there look for

<scriptitem>
….
</scriptitem>

blocks. The code for the browser is such a block as well. In textport panel you can do a ‘menurefresh’ to make it work without restarting Houdini.

Change file browser Jan. 6, 2020, 12:42 p.m.

If you add this to your PARMmenu.xml you'll get an additional ‘pick file’ option in every file type parm's contextmenu. It will give open your native browser so you can comfortably browse and do stuff. This works side-by-side with the houdini browser so you can use the one best for the task at hand:


<scriptItem id="PickFileNative">
<context>
<expression>
<![CDATA[
try:
return kwargs["parms"][0].parmTemplate().stringType().name()=='FileReference'
except:
return False
]]>
</expression>
</context>
<label>Pick File</label>
<scriptCode>
<![CDATA[
import sys
import os
from PySide2 import QtCore, QtGui, QtWidgets

path=os.getcwd()
try:
path=(os.environ['hip'])
except:
pass

try:
if os.path.dirname(kwargs["parms"][0].eval())!='':
path=os.path.dirname(kwargs["parms"][0].eval())
except:
pass

filename = QtWidgets.QFileDialog.getOpenFileName(None, 'Pick a File', path, 'All Files(*.*)')
if (filename[0]!=''):
kwargs["parms"][0].set(filename[0])
]]>
</scriptCode>
</scriptItem>

the little things about houdini Sept. 19, 2019, 2:15 a.m.

EricSheng
seifdune
we need node/tool special for destruction modeling which will simplify and speed the modeling process in houdini. One tool which contain bridge,extrude,bevel,add loop,loop slice,make circle,fill polygon and others. This will help when you just want to model something without the need of the procedural workflow.
No, I don't want to see a new toy tool like Poly Draw. I just hope one day we can select/edit multiple points at a time with Curve SOP.

I wouldn't call it a toy tool, it's quite a leap forward from what it used to be! Look, some tasks just aren't procedural by nature and I'd like to see tools that are more aligned with that workflow. You can still mix and match them as you'd like.