Jump to content

Editing Curve Points In Otl


Recommended Posts

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

Link to comment
Share on other sites

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 :blink:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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]

Link to comment
Share on other sites

  • 7 years later...

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 by glassman3d
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...