Mark Wallman

Mark Wallman

About Me

EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
United Kingdom
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Adding paste relative reference into TOPs python syntax? March 31, 2026, 8:28 a.m.

Fixed:

import sys, os
import hou

folder_path = hou.evalParm("../../fileDIR")

print (folder_path)


# Combine them directly inside the function
#os.makedirs(os.path.join(folderPath, subFolder), exist_ok=True)

Adding paste relative reference into TOPs python syntax? March 31, 2026, 7:12 a.m.

Hi all, I am trying to make TOPs python code to pick up the paste relative reference to make a few folders. Im not really having any luck, Does anyone know what I am doing wrong here? Thanks in advance!

So far I have tried:

import os
import hou

folderPath = hou.(`chs("../../fileDIR")`)
subFolder = "test"

# Combine them directly inside the function
os.makedirs(os.path.join(folderPath, subFolder), exist_ok=True)

--------------------------------------------

import os
import hou

folderPath = hou.expandString(`chs("../../fileDIR")`)
subFolder = "test"

# Combine them directly inside the function
os.makedirs(os.path.join(folderPath, subFolder), exist_ok=True)

------------------------------------------------

import os
import hou

folderPath = "(`chs("../../fileDIR")`)"
subFolder = "test"

# Combine them directly inside the function
os.makedirs(os.path.join(folderPath, subFolder), exist_ok=True)

----------------------------------------------------

import os
import hou

folderPath = hou.node(`chs("../../fileDIR")`)
subFolder = "test"

# Combine them directly inside the function
os.makedirs(os.path.join(folderPath, subFolder), exist_ok=True)

--------------------------------------------------

import os
import hou

folderPath = parm(`chs("../../fileDIR")`)
subFolder = "test"

# Combine them directly inside the function
os.makedirs(os.path.join(folderPath, subFolder), exist_ok=True)

APEX animate state keeps hiding the geo March 30, 2026, 4:45 a.m.

Hi Edward, thanks so much!