Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Community Reputation

1 Neutral

About danielsweeney

  • Rank

Personal Information

  • Name
    daniel sweeney
  • Location
  1. setFromParm(src) not showing keyframes on copied data

    hi again, Just in case someone stumbles over this problem. Seems the way around it is to use two functions in conjunction. the setFromParm(src) seems to set all values correctly even referenced Parms. but the keyframes don't seem to work fully. so you have to check if the parm in question has keyframes and if so. use setKeyframes(keyframes) instead for those Parms. Hope that helps anyone that runs into it. cheers Daniel
  2. Hi Everyone, Just wondering if someone could shed some light on this. I'm copying values from one node to another for every Parm. but when using setFromParm(src) on a parm that has keyframes. it seems to copy the values across. but I cant see the keyframes in the timeline or any of the editors? whats gives? is this the proper way to do this or is there an extra step or another method? Any tips would be great thanks so much for your help. Daniel
  3. Hi everyone, Just wanted to ask a question. We run in to this problem a few times a year where a client asks us to visit an old scene. When we have updated redshift. I try to not usually update redshift to something in a point release that will break backward compatibility. usually change on a big release. but unfortunately, I have done this time around. Does anyone know of any scripts that someone might have released that would go through the scene a rebuild - lights materials and cameras, keep all keyframes, expressions, parents etc so its the same scene just built with updated nodes for redshift? if not il just have to look into writing something myself, but just wondered if anyone had come across a script that might work for us. cheers
  4. Houdini 19 Wishlist

    I would defo be up for seeing the code. and I am sure some other people would be too. Scene Callbacks - what do you mean by this? can you elaborate? didn't know you could check if things have been pressed or are active in the interface? cheers for the reply
  5. Houdini 19 Wishlist

    This is cool. any pointer on reading for resources on how to manipulate houdini's interface like this? also did this bit of code ever get released anywhere? cheers Daniel
  6. set absolute reference? python

    ah ok. so just do it manually. just didn't know if there was a more elegant solution. and you can set absolute reference with right-click. thought there might be a function for it. cheers for the help. D
  7. set absolute reference? python

    Hi Everyone, can anyone give me a heads up on how to do this? if I want to set a relative reference I usually do something like this. node = hou.node('/obj/geo1/') p1 = node.parm('sphere1/scale') p2 = node.parm('sphere2/scale') p2.set(p1) but what if I want the path to be an absolute reference? cheers for your help. D
  8. externaldragdrop.py - only works on some machines? not all

    Hi Alex, I did report a bug in the end, but got the bottom of this in with some googling, as support could not solve this. it is unfortunately a Windows problem if you are running the program in administration mode. Drag and drop does not work. cheers
  9. HDA > obj level > output transforms

    Just wondering how you set the output transform of an HDA at OBJ level from a node inside the HDA. Iv done it before but i can not remember for the life of me? can someone shed some light on this? pulling my hair out here and cant seem to find any info on this at all? cheers daniel
  10. Hi everyone, has anyone come across this problem before? been setting up a custom script for drag and drop via the externaldragdrop.py file. Now the weird thing is. it works on some machines and not others. works on my home machine, a colleagues home machine. one of the machines at work and two other and work is does do anything. Whats seems to be happening is houdini, is not even registering that a file is being attempted to be dropped form an external window. So the .py file cant be called? I can't seem to find any documentation on this either which does not help. all machines at work are running the same environment setup. any ideas?? cheers Daniel Happy new year to all
  11. houdini python and mply

    thanks for the heads up malexander. after a bit of tinkering, I did finally get it to work.... few things to look out for. in your list of file paths firstly you have to make sure each string for the file path has a space before. then I ran into the problem where it would not open file paths that had a white space in the whole path. so after a bit of reading, I think because it's a shell operation? I have to have the string encapsulated in " " . (please correct me if I am wrong on this) so a simplified version below import subprocess fileSequenceList = [' "tmp/tmp/box.001.bgeo"', ' "tmp/tmp/box.002.bgeo"', ' "tmp/tmp/box.003.bgeo"'] subprocess.Popen(['gplay', fileSequenceList]) if I run into any other hurdles. il post them up. cheers Daniel
  12. houdini python and mply

    Hi Again Bunker, thanks so much for your help. im still clutching at straws here. the function I'm building is basically being run off a right-click menu in a QT widget window. Don't know if that makes a difference. this is the last part of my function for testing purposes. filePath = filePath.replace("$F4", "*") command = 'gplay ' + filePath subprocess.Popen(command,shell=True) this is the whats my command variable prints like gplay C:\Users\Daniel\Documents\NodeShare\Geometry\moreframes\box.*.bgeo and it's still throwing an error. and yeah I am importing subprocess its at the top of my function. just get this error. hou 18 - python 2.7 cheers Daniel
  13. houdini python and mply

    Hi Bunker, thanks for the help. Nope, I am afraid that didn't seem to work. my evaluated end of the string looked like this when I replace $F4. /geometry/moreframes/box.*.bgeo Googling this I can't seem to find any info on this problem. when picking files manually I noticed it had the frame range in () at the end of the string. like (1-240) but i tried this also adding to the end of the string. but it didnt work. unless it needs to be in a tuple or something. cheers Daniel
  14. return modifier keystroke (ctrl, shift etc) with externaldragdrop.py

    this may make me sound stupid. but I don't know how to print the Kwargs? can you give me an example of how to do this. sounds super useful. cheers
  15. houdini python and mply

    hi guys, is there any reason why this would not be working. i could have scripted it wrong. I'm in hou 18. I cant seem to get it to work with $F4 in the file path. throws an error. can get it to work with single files. anyone got any ideas?