Skip to main content

Recently Updated Pages

Tops Random

Houdini FX Python

Get the range from a range gen or extend -- works on items: pdgattrib("range", 0) #first frame ...

Updated 1 year ago by Anthony

Bake Camera from Alembic

Houdini FX Python

Shelf script to bake camera form Alembic camera in scene. Must select the child camera in the ale...

Updated 1 year ago by Anthony

Button Python Scripts

Houdini FX Python

Make Flipbook button. Must make an opengl in pipeline for the path details. Takes resolution fr...

Updated 1 year ago by Anthony

Example On Node Buttons

Houdini FX Python

This is how a button on a non-adminned node needs to be laid out: import hou (probably not nee...

Updated 1 year ago by Anthony

Get frame range from alembic

Houdini FX Python

This script should be added to a button on a node (thats why it's funnyily formated)   import _...

Updated 1 year ago by Anthony

Copy Text to Clipboard example

Houdini FX Python

This example I make a dictionary and copy to clipboard. I also gather a frame range from files on...

Updated 1 year ago by Anthony

Links

Houdini FX VEX

Big resource: https://lex.ikoon.cz/vex-snippets/

Updated 1 year ago by Anthony

Spiral

Houdini FX VEX

#include "math.h" #include "voplib.h" float easeOutCirc ( float t ) { return sqrt ( 1 -...

Updated 1 year ago by Anthony

Send to Tops

Houdini FX Python

import hou nodes = hou.selectedNodes() topnet = hou.node("/obj/topnet1") if not topnet: ...

Updated 1 year ago by Anthony

TOPs - symlink output file of parent

Houdini FX Python

  exportFile = str(work_item.expectedInputFiles[0]) dir = os.path.dirname(exportFile) newFile ...

Updated 1 year ago by Anthony

Send selected nodes to new object (fancy way to create object merges)

Houdini FX Python

import hou nodes = hou.selectedNodes() destnode = hou.node(hou.ui.selectNode(title="select dest...

Updated 1 year ago by Anthony

Create Agent from built in mocap rig - Simple

Houdini FX Python

This will take a test mocap rig 3 built in to houdini, create an agent, add agent clips from the ...

Updated 2 years ago by Anthony

Get Frame Size of Image File

Houdini FX Python

node= hou.pwd(); bg=node.parm("image").eval(); res=hou.imageResolution(bg); node.parm("framesizex...

Updated 2 years ago by Anthony

Pull version from hipname

Houdini FX Python

Can be used in a parameter. Returns a integer. import hou, re version = re.findall('_v\d+', hou...

Updated 2 years ago by Anthony

Set Frame Range without Script

Houdini FX Python

  import hou; anode = hou.pwd(); start = anode.parm("framemin").eval(); end = anode.parm("framem...

Updated 2 years ago by Anthony

split by group

Houdini FX Python

import hou selected = hou.selectedNodes()[0] groups = [g.name() for g in selected.geometry().pr...

Updated 2 years ago by Anthony

Update frame range from file

Houdini FX Python

def grabFrames(self): import os plate = self.parm("backplate").eval() if not plate...

Updated 2 years ago by Anthony

Move Files

Houdini FX Python

import os,hou, shutil selected = hou.selectedNodes() for x in selected: if x.parm("env_map...

Updated 2 years ago by Anthony

POPs

Houdini FX

Random Spin: // The following makes it random: axis = rand(@id) - set(0.5, 0.5, 0.5); spinspee...

Updated 2 years ago by Anthony

PythonModule Scripts

Houdini FX Python

Get houdini version: hver = hou.applicationVersionString().rpartition('.')[0]

Updated 2 years ago by Anthony