SpencerL Posted August 30, 2006 Share Posted August 30, 2006 Hey, I have created an HDA that has a button that sets off a render from a rop inside my HDA. The problem is whenever I bring in my HDA node the button breaks and I have to re-establish the link to the ROP by putting the path to that ROP into the "Auto-Link" parameter in the "Type Properties". Once I do that then the button works fine. Im not sure what I am doing wrong. Thanks. Quote Link to comment Share on other sites More sharing options...
exel Posted August 30, 2006 Share Posted August 30, 2006 Hey,I have created an HDA that has a button that sets off a render from a rop inside my HDA. The problem is whenever I bring in my HDA node the button breaks and I have to re-establish the link to the ROP by putting the path to that ROP into the "Auto-Link" parameter in the "Type Properties". Once I do that then the button works fine. Im not sure what I am doing wrong. Thanks. Hey Spencer, Maybe try just skipping the parameter linking and use a callback script in the button parameter to fire off the ROP. Try: opparm /obj/geo/myRop execute ( 1 ) *or* render /obj/geo/myRop ...I think either one of those should work, but I've always used the "opparm" approach and it's worked for me... I gave the example using an absolute path but you'll probably want to use a relative path to your Rop since it's in an HDA... hope this helps! -JS- Quote Link to comment Share on other sites More sharing options...
michael Posted August 30, 2006 Share Posted August 30, 2006 or you could link it with the !!ch()!! Quote Link to comment Share on other sites More sharing options...
SpencerL Posted August 30, 2006 Author Share Posted August 30, 2006 Thanks Excel, thats what I was looking for. the final syntax that I used was: opparm -C `opfullpath("ropnet1/mantra1")` execute ( 1 ) Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.