houdini环境变量配置代码
[highlightlanaguage="python"]importhouimportosimportctypesfromctypes.wintypesimportMAX_PATHhou.pwd()defxie():dll=ctypes.windll.shell32#--------------------------查找'我的文档'地址buf=ctypes.create_unicode_buffer(MAX_PATH+1…
[highlightlanaguage="python"]importhouimportosimportctypesfromctypes.wintypesimportMAX_PATHhou.pwd()defxie():dll=ctypes.windll.shell32#--------------------------查找'我的文档'地址buf=ctypes.create_unicode_buffer(MAX_PATH+1…
[highlightlanaguage="python"]importhoudefsheng():shu=hou.pwd().parm('shuliang2').eval()merge=hou.node('/out/').createNode('merge','yijianxuanran')#geolist=[]#children=hou.node('/obj/').children()#foriinchildren:#if…
defru():plane=hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor)parent=plane.pwd()currentpos=plane.selectPosition()lineList=
[highlightlanaguage="python"]defchu():nodeGrp=hou.selectedNodes()path_info=[]file=open('path.txt','w')foreachnodeinnodeGrp:currentpath=eachnode.path()path_info.append(currentpath)nodepaths=path_infoforeachpathinnod…