Jump to content

Search the Community

Showing results for tags 'scripting'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 48 results

  1. Opchange "issue"

    Hi guys, Just a quick question I hope have a simple answer! I have a dual boot setup and switch back and forth between Win and Linux. Due to files having to point to same location I have a variable in the .env that point to each respective mounting place $NAS. Now, I imported an FBX through the File menu and it pops in as expected, but all the nodes have the full path in them. With the Textport I can do the "opchange" operation to switch the mounting place to the variable - but when I do that it converts the variable to it's value (the original path). My question now is: Can I somehow do the opchange without the Textport converting the variable to it's value and simply make it put the variable there instead of the path? I hope my rambling is not too confusing. Thanks a bunch, Jack
  2. usd model variants from attribute

    Hi all I've been looking at creating usd variants from the following, thinking on using this to create a model with variants from a piece of geometry that has a primitive attribute called "myattr" with 2 values (say half a sphere with myattr="left", and the other side called "right") 1- sopimport an object into LOPS with prim attributes. 2- create an add variant to existing primitive block 3- done Any ideas on how to iterate through each of the primitive attribute values to create this variants? adding a hip file for reference, maybe someone can help Thanks in advance! usdvariants_from_groups.hipnc
  3. Hi all I've been looking at creating usd variants from the following, thinking on using this to create a model with variants from a piece of geometry that has a primitive attribute called "myattr" with 2 values (say half a sphere with myattr="left", and the other side called "right") 1- sopimport an object into LOPS with prim attributes. 2- create an add variant to existing primitive block 3- done Any ideas on how to iterate through each of the primitive attribute values to create this variants? adding a hip file for reference, maybe someone can help Thanks in advance! usdvariants_from_groups.hipnc
  4. Greetings, I am trying to use addpoint() every 24 frame and i wanted it to stay in the geometry. The problem is that the newly added point is only available in that specific frame. I want to add a point every 24 frame. and make it permanent. is there a way to add permanent point ever 24 frame? any help would be appreciated. Thanks, P.S: the code is like this: if (@Frame%24==0) { int index = addpoint(0,@P); int setPtAttrib = setpointattrib(0, "move", index, 1, "set"); }
  5. Women Character Rigging

    Hey, Hi, I want to rig a realistic women character, Can someone tell me what is the way to rig a realistic character I'm planning to use a Advanced skeleton in maya, and including the blendshapes can also be helpful? or else painting my own weights will give the better result? ThankU.
  6. python folder creating

    Hi, I'm trying to make folder structure from python... there is a renaming problem I'm facing... How do we can make "vnc_001.......vnc_015", please check the image attached, I strongly required only 3 numbers at the end...
  7. I just did a Python script to create a sphere only with nulls. Actually can be done any shape you want. Here the video with the HIP file included: I know, it's a completely useless and silly project, but was fun to do. Any comment will be welcomed, Oscar
  8. normalize in vex and vop

    Hi, sorry about the silly question, I'm a beginner. NORMALIZE in vops, what it is used for, I saw many times in tutorials people using, but, nobody explaining about it... what it differs from the clamp node?
  9. Hello folks, so, i have a bunch of houdini file with a top node at OBJ level, all file have the same structure and are in the same folder I would like to cook the TOP node from external, Python or another TOP graph. I tried in a background script to access with hou.node('/obj/topnet').parm('cookbutton').pressButton(), but it seems that doesn't cook anything Any idea ? Thanks in advance
  10. Hi Houdini friends, I'm having a pretty weird issue right now and was wondering if this is something that someone else has encountered before: When I call a function as a callback to some button on an HDA/ shelf script, the result is different from when I directly call it in the python shell of an opened Houdini session / directly in a hython shell. More specifically, when called as a callback, it hangs; while when called from hython it went through as expected; The function involves some general wrapping code, that execute some houdini specific code, and it seems that any call from the hou module would hang when ran as callback. Does anyone have similar issues before / knows more about what might be different when something is executed as parm callback vs. directly from hython? Thanks soooooo much in advance!
  11. Hi, I'm playing around with limiting transform handles on nulls to act as a rigging control surface. I found on these forums a cool hscript snippet that allows this: clamp(cubic(),min,max). Does anyone know the python equivalent? The python clamp doesn't seem to accept a cubic() as a parameter. Also, does anyone know of another method of allowing for manual transform handle input that feeds into an expression? (HScript or Python). I can't wrap my head around why cubic() works! Cheers Dan
  12. Hey ODFORCE, Does PyCharm integrate with Houdini well? (Auto-completion, external debugging, unit testing?) Just curious. I did find some blog posts on VS Code set up, but I was curious about Houdini and PyCharm specifically. There was an issue with PySide from an earlier post..? (I'm fairly new to IDE set up, so forgive me if it's obvious) There are plugins for Nuke and Maya for PyCharm. Nothing for Houdini though.
  13. i am creating a point in between 2 points and i want to transfer all the attributes to this new point, is there a way to find all the attributes that are in a point? like a list/array ["Cd", "P", "N"...] thanks =)
  14. Hi, Is there a chance for example to get a picked position of a connection item ( where the pointer is picked its line ) ? I would place a node where it's picked.. I think the paste tool does similar when you pick a position at the Network Editor before paste. THX! G
  15. How can I bring the open-source SeExpr into Houdini? https://www.disneyanimation.com/technology/seexpr.html
  16. Hi, Can houdini pythyon can solve this: I have an object (rop network in obj) when is deleted I want to run a py script. Thanks in advance ! Sz
  17. Hi, In a Filecache node I would like to add an other Rendering button after the factory default button. Can it be somehow ? G
  18. Descriptive Parameter to Node

    Hi, I found a very useful thing in docs but seems like not working for me unfortunately. Can anyone help ? I tried to add a descriptive parm to a node ( the same as a digital asset has ): node.setUserData("descriptiveparm", "parm") THX! G
  19. Hi, In Houdini Python (or hscript ) can we simply extract a given subnet content ? THX! G
  20. Hi, Can scripting can solve a node refreshing ( script run when the node exist ) in a specific time intervall. I mean for example a progress note is refreshed. I found some advanced usage of Network Editor with event but the timer event was not given by examples. Did anyone know use it ? THX! G
  21. Hi, Does Houdini give the possibility to add a progress bar to a user defined property page? Does it need Pyside? If needed a panel can be mixed with PySide elements too ? If anyone has idea, it's welcome ! THX! G
  22. Hi, Can anyone knows how to get a node object ( or parent node ) which parameters a parameter pane shows ? Thanks, G
  23. Hello guys, I have some problems with PyQt in Houdini. The problems are: 1. How to get rid of the white border around the window? 2. The logo/image does not load. How to fix it? Thanks ------------ Qt Designer GUI preview GUI Problems 1. How to get rid of the white border around the window? 2. The logo/image does not load. How to fix it?
  24. Hi, I would call a python subprocess (ffmpeg) which creates mov file from jpeg sequence from flipbooks. In Windows 7 it works well but in Windows 10 it makes Houdini Freeze. I tested it with older version of ffmpegs but none. Any idea, experiance of someone ? THX! G
×