Found 198 posts.
Search results Show results as topic list.
Technical Discussion » Batch converting .exr to .rart with tops
- alexwheezy
- 201 posts
- Offline
iconvert does not know how to create intermediate directories during file processing, so you need to create a directory in advance where the output files will be saved.
Technical Discussion » read an attribute name
- alexwheezy
- 201 posts
- Offline
animatrix_Gerardo Castellanos
@BabaJ, ok, thanks for your answer
@ObeidaZakzak ... ohh good to know, thanks a lot!
I also recommend using the Bindings tab if you can, as using any of the point/prim/vertex functions, you will take a severe performance hit over direct attribute binding, even if you are just reading from the current element.
A lot of people in production are not aware of this.
I've never done performance tests for this, but how much slower is it? I think few people know about this feature because few people talk about it at all in their lessons. It is easier for artists to call the appropriate function.
Technical Discussion » VEX: Is there a short way to specify return type of point()?
- alexwheezy
- 201 posts
- Offline
There really is a difference between them, the first form of vector() is essentially a constructor for creating an object of type vector, the second entry of the form (vector) performs an implicit type cast to a vector, which will not work in this expression since we need to explicitly indicate what type it returns point function.
Technical Discussion » VEX: Is there a short way to specify return type of point()?
- alexwheezy
- 201 posts
- Offline
Technical Discussion » read an attribute name
- alexwheezy
- 201 posts
- Offline
There's no need for backticks or double quotes.
string maskAttribute = chs("../attrMask");
PDG/TOPs » usdImportData is converting floats to ints
- alexwheezy
- 201 posts
- Offline
Houdini Indie and Apprentice » Finding the source code or how the minpos function works
- alexwheezy
- 201 posts
- Offline
PDG/TOPs » usdImportData is converting floats to ints
- alexwheezy
- 201 posts
- Offline
PDG/TOPs » File pattern - Specific files selection
- alexwheezy
- 201 posts
- Offline
Why not use the Labs Filter by Value node itself as a control node? It seems that so far there is no problem to replace it.
All I've changed here is a setting in the asset that allows you to select files on disk rather than populate a line, then you don't have to create a new layer of data indirection and avoid the hassle of writing code.
All I've changed here is a setting in the asset that allows you to select files on disk rather than populate a line, then you don't have to create a new layer of data indirection and avoid the hassle of writing code.
Edited by alexwheezy - March 24, 2024 01:22:24
PDG/TOPs » File pattern - Specific files selection
- alexwheezy
- 201 posts
- Offline
The File Pattern node knows how to create attributes from a path such as directory, filename, extension.
https://www.sidefx.com/docs/houdini/nodes/top/filepattern.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/nodes/top/filepattern.html [www.sidefx.com]
PDG/TOPs » File pattern - Specific files selection
- alexwheezy
- 201 posts
- Offline
Then we can consider 2 more options to solve this problem.
Use Filter by Attribute or Labs Filter by Value, which is actually written in Python Script.
https://www.sidefx.com/docs/houdini/nodes/top/labs--filter_by_value-1.1.html [www.sidefx.com]
Use Filter by Attribute or Labs Filter by Value, which is actually written in Python Script.
https://www.sidefx.com/docs/houdini/nodes/top/labs--filter_by_value-1.1.html [www.sidefx.com]
Technical Discussion » xform from orient, P and scale (vex)
- alexwheezy
- 201 posts
- Offline
You might be looking for this:
https://www.sidefx.com/docs/houdini/vex/functions/instance.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/vex/functions/instance.html [www.sidefx.com]
PDG/TOPs » File pattern - Specific files selection
- alexwheezy
- 201 posts
- Offline
Pattern allows wild cards such as ? (match any character), * (match any string of characters), and (match any one of the characters inside the square brackets). For example, *.png matches any file that ends with .png. But I don't think it's going to be flexible.
You can first read all the files from the disc using the *.extension template, and then filter the desired files using Filter by Expression.
You can first read all the files from the disc using the *.extension template, and then filter the desired files using Filter by Expression.
Technical Discussion » Python / H-script menu toggle not there in parameter editor?
- alexwheezy
- 201 posts
- Offline
Yes, I've raised a similar question before, but haven't found an answer. It looks like it's just a new change to the H20 and they just forgot to update the documentation.
https://www.sidefx.com/forum/topic/93846/?page=1#post-409632 [www.sidefx.com]
https://www.sidefx.com/forum/topic/93846/?page=1#post-409632 [www.sidefx.com]
Technical Discussion » I created a VEX extension for VS Code (Supported Houdini 20)
- alexwheezy
- 201 posts
- Offline
Hmm, the help doesn't work. It looks like you have the help bound to a static local port that Houdini should be outputting. Why isn't there online documentation?
Technical Discussion » (SOLVED) Set a button strip parm in python
- alexwheezy
- 201 posts
- Offline
Not the most efficient, but the easiest way to do it.
int("".join(str(x) for x in [1,0,1]), 2)
Technical Discussion » How to use For Loop SOP to iterate over a dict?
- alexwheezy
- 201 posts
- Offline
I don't think For Each and Blast SOP are very suitable for this. The reason is that in a dictionary elements are accessed by key, not by index, so getting the length of the dictionary will not help much in the end. To make this possible For Each SOP needs to be able to iterate over keys and not over indexes, but this feature is not available here.
If you really need to iterate through the dictionary and look up or delete something, then use AttribWrangle.
If you really need to iterate through the dictionary and look up or delete something, then use AttribWrangle.
dict dictionary = detail(0, "groups"); foreach(string grp; keys(dictionary)){ // ... }
Technical Discussion » How to make a HDA show additional geomery in Scene View?
- alexwheezy
- 201 posts
- Offline
Technical Discussion » How to read the help of the parm with python?
- alexwheezy
- 201 posts
- Offline
I don't know for what reason the hou.Parm type doesn't have the ability to call the help() method, but it can be called on the hou.ParmTuple type.
hou.parm("...").tuple().help()
Technical Discussion » Python event for node selection / flag toggle?
- alexwheezy
- 201 posts
- Offline
You then have to dig deeper into the network's event handlers.
https://www.sidefx.com/docs/houdini/hom/network.html#intercepting-events-globally [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/network.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/network.html#intercepting-events-globally [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/network.html [www.sidefx.com]
-
- Quick Links