peter hamlin


About Me

Not Specified


Recent Forum Posts

Command line run tops wont work with mantra or ropfetch 2022年11月17日3:23

thank you so much, that solved it for me.

Command line run tops wont work with mantra or ropfetch 2022年11月15日11:26

So my setup work if I dont use mantra node or ropfetch node in tops. I have verified that as you can se in the pictures. What is the correct setup to have mantra and ropfetch work?

Export multiple fbx files unstable 2018年5月30日6:39

So I solved it by make file->new asset and make it python type and write like

and then use boolean to export selection.

worked like a charm!

script like this

def onButtonPress():
    node = hou.pwd()
    geo = node.geometry()
    #group Node
    Box = hou.node('/obj/Dressing/box1')

    BoxSize = 100
    BoxX = -100
    BoxZ = 350

    #fbx node
    fbxNode = hou.node('/obj/Dressing/fbx_out2')
    exportPathBase = hou.parm('/obj/Dressing/exportLevel1/exportPath').eval()
    Index =1
    Level = "Level2"

    exportButton = hou.parm('/obj/Dressing/fbx_out2/execute')
    #looping and exporting
    for x in range(0, 6):
        for z in range(0, 6):
            #update group selection
            #update fbx node and export
            newExportPath = exportPathBase+str(Index)+".fbx"
            fbxNode.setParms({"sopoutput": newExportPath})
            print newExportPath
            Index +=1
    hou.ui.displayMessage("------------------->Export Finished<-------------------")