Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About vrman

  • Rank

Personal Information

  • Name

Recent Profile Visitors

1,022 profile views
  1. i will loose the shape by set number of segments , i want to keep the shape
  2. I have a curve with 1203 point , and now i want to resample it to exact 800 point , is there any solution for this ? i want to use it for polypatch or bridge between two curve , currenty i have lot of error after polypatch/polybridge , because there is difference in point number between two curve. thanks
  3. select one edge from group ?

    great , thanks alot
  4. Hey guys i have an group of edges , i want to make another group and add just one of those edge from first group to it . is there any trick for doing this ? thanks
  5. Hey Guys i want to push render to disk button in mantra node via python , but its not working , my code is something like this : myRenderNode = hou.node('/out/baketexture1') myRenderNode.parm('execute') is there any trick to do this ? thanks
  6. Execute string in Python ?

    its working now , thank you so much
  7. 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()
  8. 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
  9. 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 :
  10. 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 ?
  11. 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
  12. 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
  13. 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 ,
  14. 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