chrsmith Posted July 7, 2005 Share Posted July 7, 2005 Hi there, Is there a way to provide top-level curve editing cability for an otl (digital asset) ? I have a curve sop in my otl. I want users of my otl to be able to move the points in the curve without having to go inside. Is there a built-in way of setting this up, or do I have to do something ad hoc? Thanks! Christine Smith Northrop Grumman Engineering Visualizatin Resource Quote Link to comment Share on other sites More sharing options...
aracid Posted July 7, 2005 Share Posted July 7, 2005 Hi there, Is there a way to provide top-level curve editing cability for an otl (digital asset) ? I have a curve sop in my otl. I want users of my otl to be able to move the points in the curve without having to go inside. Is there a built-in way of setting this up, or do I have to do something ad hoc? Thanks! Christine Smith Northrop Grumman Engineering Visualizatin Resource 19351[/snapback] hey take a look at this link http://odforce.net/forum/index.php?showtopic=1787 its mentions something similiar to what u wanna do :-) dont know if it will work, but its worth checkin out aracid Quote Link to comment Share on other sites More sharing options...
michael Posted July 7, 2005 Share Posted July 7, 2005 add transforms to each point that you want users to have access to and then promote the translates/rotates/etc faster than bindselectors but less cool.... Quote Link to comment Share on other sites More sharing options...
chrsmith Posted July 7, 2005 Author Share Posted July 7, 2005 Yeah, I read that one, but I have no idea how I can use that to do what I want to do. Is there any documentation on that language? It doesn't look like hscript. Quote Link to comment Share on other sites More sharing options...
stevenong Posted July 7, 2005 Share Posted July 7, 2005 Hi Christine, There is no built-in way, unfortunately. Here's a similar thread discussing about reselecting geometry in a HDA (Houdini Digital Asset) and in it, Jeff Wagner provided instructions on how to reselect by editing the dialog script of the HDA. Personally, I tried it & it works though it took a couple of attempts before getting it to work the way I want. I don't know how well it'll work for editing a curve but it's worth a try if you are up for it. Is this an Object level or SOP level HDA? Cheers! steven Quote Link to comment Share on other sites More sharing options...
stevenong Posted July 7, 2005 Share Posted July 7, 2005 Wow! Replies & questions all at the same time! Arctor's idea sounds good. I asked about whether is it an Object level HDA because instead of a Curve SOP, you can use the Path Object then maybe Object Merge that. Cheers! steven Quote Link to comment Share on other sites More sharing options...
stevenong Posted July 7, 2005 Share Posted July 7, 2005 Hi Christine, Yeah, I read that one, but I have no idea how I can use that to do what I want to do. Is there any documentation on that language? It doesn't look like hscript. 19354[/snapback] With Jeff's first or second post, he attached a file called "sop_bindselector.txt" which contains the instructions. Cheers! steven Quote Link to comment Share on other sites More sharing options...
sibarrick Posted July 7, 2005 Share Posted July 7, 2005 Another good tip with this type of thing is to provide a button that opens up a viewport floating window with the sop as the focus. use something like this pane -F -m viewer -h /obj/model/curve1 The downside being the asset will have to be unlocked for it to work. Quote Link to comment Share on other sites More sharing options...
chrsmith Posted July 7, 2005 Author Share Posted July 7, 2005 I found what I was looking for! In the Handles section of the Operator Type Properties, I created a "Curve Point Options" handle. I created a parameter for my digital asset by dragging my coordinates from my curve sop into the Operator Type Properties window. Then, I pointed to this parameter in the Handles area using the arrow next to "pointlist". I didn't know what I was doing or if it was going to work, but it works! When I hit Enter, I see the curve points and can manipulate them as if I were in the SOP editor. Thanks for your input, Christine Quote Link to comment Share on other sites More sharing options...
edward Posted July 7, 2005 Share Posted July 7, 2005 For that, there's actually a slightly easier way since you're using a SOP OTL. - Open up your Type Properties dialog - Dive down to your curve sop - Hit enter with your mouse in the viewer to show the handle - Right-click on the handle and choose Export Handle to Type Properties. This automatically export the required parameters and set everything up for you in the Handle tab. You can further edit the results of course. 1 Quote Link to comment Share on other sites More sharing options...
chrsmith Posted July 7, 2005 Author Share Posted July 7, 2005 Excellent! I will definitely make good use of this. For that, there's actually a slightly easier way since you're using a SOP OTL. - Open up your Type Properties dialog - Dive down to your curve sop - Hit enter with your mouse in the viewer to show the handle - Right-click on the handle and choose Export Handle to Type Properties. This automatically export the required parameters and set everything up for you in the Handle tab. You can further edit the results of course. 19361[/snapback] Quote Link to comment Share on other sites More sharing options...
michael Posted July 8, 2005 Share Posted July 8, 2005 damn I forgot all about that... Quote Link to comment Share on other sites More sharing options...
glassman3d Posted July 1, 2013 Share Posted July 1, 2013 (edited) I have an additional dilema in that I have two curves to edit and so I have created two handles on the otl. I now need to switch focus between them so I can edit each in turn any ideas anyone? many thanks Edited July 1, 2013 by glassman3d 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.