Found 68 posts.
Search results Show results as topic list.
Technical Discussion » Operator list
- omy
- 71 posts
- Offline
Is there any way of dynamically adding say geo node in the obj context whenever i press the + button in the operator list
Technical Discussion » python otl doubt
- omy
- 71 posts
- Offline
@Graham
I think the above code only prints the contents inside which is present inside my module
I want to inject the .py file or have my module inside the PYTHON MODULE EVENT HANDLER whenever i create the otl
I think the above code only prints the contents inside which is present inside my module
I want to inject the .py file or have my module inside the PYTHON MODULE EVENT HANDLER whenever i create the otl
Technical Discussion » python otl doubt
- omy
- 71 posts
- Offline
Hi I am writing a small shelf tool
I written a module in the script
any idea of how to import a module in script section of type properties by python script?
we can do this by going and r.clicking and going to type properties window.
but i want to know how this can be done by script.
so that when i click the shelf tool,the module also can be run
I written a module in the script
any idea of how to import a module in script section of type properties by python script?
we can do this by going and r.clicking and going to type properties window.
but i want to know how this can be done by script.
so that when i click the shelf tool,the module also can be run
Technical Discussion » python doubt
- omy
- 71 posts
- Offline
I created a operator list from the edit parameter interface window.
Now I select two lights say pointlight1 and spotlight1
I want to create two takes for the lights that i selected from the operator lists
Now I select two lights say pointlight1 and spotlight1
I want to create two takes for the lights that i selected from the operator lists
Technical Discussion » python doubt
- omy
- 71 posts
- Offline
a=hou.parm('/obj/geo1/null1/parm')
>>> a.eval()
'/obj/spotlight1 /obj/arealight1'
>>>
The above parm is an operator list
spotlight1 and arealight1 are the nodes I selected from the open floating bundle choose that comes with the operator list parameter
Now I want to make this automated
say for example
it generates two takes from the operator list.Please help me out.Thank you
>>> a.eval()
'/obj/spotlight1 /obj/arealight1'
>>>
The above parm is an operator list
spotlight1 and arealight1 are the nodes I selected from the open floating bundle choose that comes with the operator list parameter
Now I want to make this automated
say for example
it generates two takes from the operator list.Please help me out.Thank you
Technical Discussion » setParmTemplateGroup on multiparm block parameters
- omy
- 71 posts
- Offline
node=hou.node('/out/mantra1')
a=node.parmTuple('/out/mantra1/vm_numaux')
a.hide(True)
this is one of the example for hiding multiparmblock block
a=node.parmTuple('/out/mantra1/vm_numaux')
a.hide(True)
this is one of the example for hiding multiparmblock block
Technical Discussion » c# socket with houdini
- omy
- 71 posts
- Offline
also it would be great if someone could share knowledge on accessing hou modules from python and other languages such as maya,xsi etc
Houdini Indie and Apprentice » Reg SESI Internships
- omy
- 71 posts
- Offline
could sidefx can atleast give me a formal offer letter for this.Right now I have been informed that get the work permit and your internship will start else they cant give any internship. someone please help me out
Technical Discussion » Python selecting all the nodes
- omy
- 71 posts
- Offline
grahamyes sorry.tested.it works now
That would be hou.Node.isSelected(). hou.Node.setSelected() will select a node, optionally clearing all the other selected nodes.
Technical Discussion » Python selecting all the nodes
- omy
- 71 posts
- Offline
grahamI think it just return true or false if the node is selected
hou.Node.setSelected() ?
Technical Discussion » Python selecting all the nodes
- omy
- 71 posts
- Offline
Hi Could someone tell me how to select nodes.I have stored all the nodes of particular type in a variable.I want to know how to select all the nodes
I have been searching houdini docs
I came across hou.Node.setCurrent which selects only one node
Please help me out
Thank you very much
I have been searching houdini docs
I came across hou.Node.setCurrent which selects only one node
Please help me out
Thank you very much
Houdini Indie and Apprentice » Reg SESI Internships
- omy
- 71 posts
- Offline
Hi I am from India. I want to know if the sidefx internship is only for people from specific country like UK,USA.,etc?
1)What can someone do if the person is not from any one of the countries in the list given below
http://www.international.gc.ca/experience/intro_incoming-intro_entrant.aspx?lang=eng&view=d [international.gc.ca]
2) How can a person get LMO or work permit on his own?
3) Can someone from other country take a visitor visa as the interns wont be paying any tax?
I have been searching and enquiring people from Canada embassy and they have suggested me to take visitor visa.Im really confused as SESI is insisting me for a work permit.Im really looking forward to get involved in the internship.
I know this is offtopic.but still if someone could help me out it would be really great.
Thank you.
1)What can someone do if the person is not from any one of the countries in the list given below
http://www.international.gc.ca/experience/intro_incoming-intro_entrant.aspx?lang=eng&view=d [international.gc.ca]
2) How can a person get LMO or work permit on his own?
3) Can someone from other country take a visitor visa as the interns wont be paying any tax?
I have been searching and enquiring people from Canada embassy and they have suggested me to take visitor visa.Im really confused as SESI is insisting me for a work permit.Im really looking forward to get involved in the internship.
I know this is offtopic.but still if someone could help me out it would be really great.
Thank you.
Technical Discussion » Python query
- omy
- 71 posts
- Offline
Hi I want to know how to query number of geos in obj context through python or hscript
could someone help me out.thank you
could someone help me out.thank you
Technical Discussion » python adding hidden parms
- omy
- 71 posts
- Offline
Technical Discussion » python adding hidden parms
- omy
- 71 posts
- Offline
hi there,
I want to know if there is any method where we can add rendering parms that are available in the EDIT PARAMETER INTERFACE WINDOW through scripting.
Please let me know
I want to know if there is any method where we can add rendering parms that are available in the EDIT PARAMETER INTERFACE WINDOW through scripting.
Please let me know
Technical Discussion » python houdini
- omy
- 71 posts
- Offline
Technical Discussion » python houdini
- omy
- 71 posts
- Offline
Hi there,
If toggle button =1 then create a node else if toggle button=0 then delete it
the given below is the code I tried.Please let me know the solution.
It works only when the script is run,and the node doesnt get deleted or created after the script is created.
hp=hou.node('/obj').createNode('shopnet','test')
test1=hou.ToggleParmTemplate('a','test1t',1)
hp.addSpareParmTuple(test1,('General test',),True)
toout=hou.node('out').createNode('shopnet','test1')
test2=hou.ToggleParmTemplate('b','test2',1)
toout.addSpareParmTuple(test2,('General test',),True)
test2t=hou.node('out/test1/')
test2t.parm('b').setExpression('ch(“/obj/test/a”)')
if(test2t.evalParm('b')==1):
tout1=hou.node('out').createNode('ifd','mantraworking')
else:
tout11=hou.node('/out/mantraworking')
tou1=hou.node('obj/mantraworking')
tou1.destroy()
If toggle button =1 then create a node else if toggle button=0 then delete it
the given below is the code I tried.Please let me know the solution.
It works only when the script is run,and the node doesnt get deleted or created after the script is created.
hp=hou.node('/obj').createNode('shopnet','test')
test1=hou.ToggleParmTemplate('a','test1t',1)
hp.addSpareParmTuple(test1,('General test',),True)
toout=hou.node('out').createNode('shopnet','test1')
test2=hou.ToggleParmTemplate('b','test2',1)
toout.addSpareParmTuple(test2,('General test',),True)
test2t=hou.node('out/test1/')
test2t.parm('b').setExpression('ch(“/obj/test/a”)')
if(test2t.evalParm('b')==1):
tout1=hou.node('out').createNode('ifd','mantraworking')
else:
tout11=hou.node('/out/mantraworking')
tou1=hou.node('obj/mantraworking')
tou1.destroy()
Technical Discussion » python houdini doubt1
- omy
- 71 posts
- Offline
Technical Discussion » python tool permission errors help
- omy
- 71 posts
- Offline
Hi everyone
This is the first time in programming with python and hom scripts
for some reason im getting this error telling that the asset is locked.
This is the second time im coming across this problem.
could any one help me out.
This is the first time in programming with python and hom scripts
for some reason im getting this error telling that the asset is locked.
This is the second time im coming across this problem.
could any one help me out.
Technical Discussion » python houdini doubt1
- omy
- 71 posts
- Offline
i have added a null node to geo1.
im trying to create a file parameter using the above code u given
getting errors for some reason.here is the attached thumbnail
im trying to create a file parameter using the above code u given
getting errors for some reason.here is the attached thumbnail
-
- Quick Links