Jump to content

morn66

Members
  • Content count

    25
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

4 Neutral

About morn66

  • Rank
    Peon

Personal Information

  • Name
    Julien Morneau-Gagnon
  • Location
    MTL
  1. Python: Delete node

    Yeah that works Thanks @acey195
  2. Python: Delete node

    Yeah I use 17.5. What I want to achieve is to automatically create a subnet node with a bunch of node inside based on a folder directory and when created, the subnet has a specific name. So far, everything works well. My only bug is that I want python to delete the subnet if it already exist before running the other script, because if I don't, the name of the new subnet will be "nameOfSubnet1" and I don't want that. I know that I can just delete the subnet before running my script, but I'm lazy and I want python to do it for me
  3. Python: Delete node

    Hi @animknight, I have this error message on my python node:
  4. Hi everyone, I have a geo node with a cube moving inside and also an "instance" node at OBJ level. Is it possible to modify the frame number currently playing on different "@instance". (I know there is other way of doing that but I want to know if it's possible with this specific context (instance node + s@instance)) Because I use: s@instance = "/obj/moving_cube"; I don't know how to change the speed of it. I attached the example file Thanks instanceFrameNumber.hiplc
  5. Python: Delete node

    Hi everyone, I try to delete a node with a python script but it doesn't work. In sop, I have a geo node name "deleteMePython". There is also another geo node call "pythonScript" that have a python node inside. That's the script that I used on the python "node": pythonNode = hou.node("/obj/deleteMePython") pythonNode.destroy() I attached the simple file to show you what is it. Thanks pythonDelete.hiplc
  6. Hi everyone, I try to delete a node with a python script but it doesn't work. In sop, I have a geo node name "deleteMePython". There is also another geo node call "pythonScript" that have a python node inside. That's the script that I used on the python "node": pythonNode = hou.node("/obj/deleteMePython") pythonNode.destroy() I attached the simple file to show you what is it. Thanks pythonDelete.hiplc
  7. Hi everyone, Is it possible to render a flipbook from TOP context or in ROP? if it's in ROP, I'll use a rop fetch to access it from the TOP context. But It seems like there is no such thing as a flipbook render. My goal is to quickly previous multiple animation at a super low resolution quality. I just need to see if the timing is right but I dont want to use redshift with a too low sample setting. Thanks
  8. I forgot about TOPS, I'll try to explore that option. Thanks @LaidlawFX!! Great answer.
  9. Hi everyone, Is there any way to write python code inside ROP context? I want to write a script that will detect the number of camera in my scene and automatically loop over one redshift output to render every camera. My goal was to create a python node with all the code that will execute, but there is no python node, which is weird. Thanks
  10. I guess this is why I wanted advice haha Yeah I was not to sure about the workflow. I thought that it will be easier to create an effect in 2d space and reproject it to the 3D mesh. But yeah it make sense to directly doing the work to the 3D object. Thanks man!
  11. Yeah I saw the new class! It looks awesome but it only starts end of august. Thanks for the link! It's cool for the hexagon shape but I'm really more interested on How can I transfer a specific 2d sim to a 3d mesh? or if there is another way to approach that problem
  12. Hi everyone, I need an advice for a specific effect. I want to make geo shape appear on top of a hi rez model. (you can look at the reference image of the effect of The predator movie) For this specific object, how will you approach that? Create a 2D pattern effect on a grid and project it to the shape? if yes, how is it possible to achieve that? thanks, I'm lost!
  13. Python Unique Value Array

    wow, easy like that! Thanks!!!
  14. Hi everyone, is there an easier way to remove a same value from an array (only have uniqueval)? I have a solution so far but I'm not sure is the most efficient technique. v = [1,8,2 2,4,4,10,4,5] v.sort() uniqueV = [] for i in v: if i not in uniqueV: uniqueV.append(i) print uniqueV Thanks
  15. I found out that: "vdb"node follow by "vdb activate" will create exactly the vel attribute as one. Doesn't need to use the vector merge.
×