Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About vrman

  • Rank

Personal Information

  • Name

Recent Profile Visitors

934 profile views
  1. Execute string in Python ?

    its working now , thank you so much
  2. Execute string in Python ?

    not working in my case , i got this "AttributeError: 'NoneType' object has no attribute 'eval'" error after running this : myPath = "'"+myShopATT+'/'+myShopATT.replace('/obj/test3_FBX/materials/','')+"_surface"+'/map1'+"'" hou.parm(myPath).eval()
  3. Execute string in Python ?

    i have 20 group prim , and there is 20 material for them , i want to get texture disk path from each material , and use it to set something . its shelf tool , dont need import hou
  4. Execute string in Python ?

    the problem is , i want to to execute that to get texture path and then use that path to set something myPath = '/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1' hou.parm(myPath) here is the full code : myNodes = hou.selectedNodes() mySize = len(myNodes) for i in range(mySize): myNode = '/obj/geo1/'+myNodes[i-1].name() myShop = (myNodes[i-1].geometry().primAttribs()[0]).name() myShopATT = myNodes[i-1].geometry().primStringAttribValues(myShop)[0] myPath = 'hou.parm('+'"'+myShopATT+'/'+myShopATT.replace('/obj/test3_FBX/materials/','')+'/map1")' print myPath hou.node(myNode).parm('Texture').set(myPath) i want to execute myPath before use it to set Texture parm. its return this now : but it should be like this :
  5. Execute string in Python ?

    Hey guys is there any way to execute string in python ? its my string variable : "hou.parm('/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1')" i want to use it to set a parameter , but problem is its a string. im also tried to change it like this : myPath = '/obj/test3_FBX/materials/Google_Hybrid___7/Google_Hybrid___7_surface/map1' hou.parm(myPath) in 3dsmax maxscript you can using a execute syntax before string to do it. is there a similar way in python for that ?
  6. cant rename node with variable

    yes you right , here is the corrected script , but still rename not working , and i dont know why : myNodes = hou.selectedNodes() getChildren = myNodes[0].children()[0] getChildrenName = getChildren.name() newNodeGroup = myNodes[0].createNode('group') newNodeGroup.setName(getChildrenName) the problem is in last line , if you change that to : newNodeGroup.setName(getChildrenName{0]) you can get characters by changing that number , but i cant get full name
  7. i dont know why i cant rename my nodes with str variable , can anyone tell me what is the problem ? setName not working with getChildrenName variable , but you can change it with typing string directly , for example newNodeGroup.setName('Hello') here is the code myNodes = hou.selectedNodes() getChildren = myNodes.children()[0] getChildrenName = getChildren.name() newNodeGroup = myNodes.createNode('group') newNodeGroup.setName(getChildrenName) thanks
  8. it fixed , the problem was i used $F for animating emitter source , and its not work with substeps , so i changed that to $FF and it works ,
  9. Hey Guys , i have a fast moving flip source , and cant get smooth shape , it look like emitter shape while emitting , i tried many different solutions like , putting time blend sop,trail sop , increasing substeps but always get same result . i had this problem in realflow too , but i fixed that by incearesing min substeps , but it didnt work in houdini , is there any solution for fixing this problem in houdini ? thanks
  10. thank you so much fencer
  11. Fade volume near object

    thanks alot Juraj
  12. Hey Guys , i have a scattered points on a surface , and this points have noise as their color , i want to make a volume from those points , and also multiply volume density with points color , but cant find any way to transfer attribute from points to volumes . is there any solution to make this happen ? thanks
  13. Fade volume near object

    thanx great idea , could you tell me how can i do this via VEX ? i cant get volume density from input 1 or 2 with this code prim(1,"density",0). another question , when i try to blur my volume , it will goes into my objects, is this possible to pushing out my volume ? something similar to what peak sop do ?
  14. Fade volume near object

    Thanks , Could you please give me a hip file for volume vop example ?
  15. i want fade my volume when its near to other objects , anyone know how can i do this with volume vop or other solutions ? thanks