Advanced Search
Search Results
57 total results found
Copy Text to Clipboard example
This example I make a dictionary and copy to clipboard. I also gather a frame range from files on disk. #needed: name, path, start, end import hou, os from pathlib import Path def getinfo(): pathname = hou.ui.selectFile(collapse_sequences=True) ...
Button Python Scripts
Make Flipbook button. Must make an opengl in pipeline for the path details. Takes resolution from camera in ShotInfo node. import hou, re, os; stealfile =hou.ui.selectNode(title="Select OpenGl Export Node to steal path from", multiple_select=False, node_typ...
Tops Random
Get the range from a range gen or extend -- works on items: pdgattrib("range", 0) #first frame pdgattrib("range", 1) #last frame
Comparing array
Find the difference between input 1's ids and input 0's: int delete_ids[] = array(); int numPrims = nprimitives(1); for (int i = 0; i < numPrims; i++) { int leaf_id = prim(1, "leafid", i); append(delete_ids, leaf_id); } int my_id = i@leafid;...
Tailscale
services.tailscale = { enable = true; openFirewall = true; authKeyFile = path-to-key; extraUpFlags = [ "--login-server=https://your-instance" # if you use a non-default tailscale coordinator "--accept-dns=false" # if its' a s...