Jump to content

Help.....digital Asset


Recommended Posts

Hi Everybody.....

I have created a Digital Asset, and it has a curve SOP inside.

I want to give user, the control to edit that curve shape,

Or even to creat a curve. How can I do that. I don't want to give a control with fix number of points.

Somethinf like Path Object, where user can create a path, and corresponding path CVs are created automatically,thru Hscript. I tried to crack that, but could,t find the hscript that does this. I saw the Creation script for path object, but that is different.

Is there any way that I can attach whole creation interface of curve SOP to Digital asset????????

Help, Help,Help.

Thanking in advance.

------iamjaideep80

Link to comment
Share on other sites

There are several ways to approach this, none of them are ideal, or exactly what you describe.

1. Have the curve sop external to the hda and have it supplied as the second input ( This is my personal favourite)

2. Have a curve sop inside the asset - but the asset has to be unlocked for this to be usable - on the front of the asset you can put a button that opens up a viewport with the curve in it for editing.

3. Use an add sop and have the coordinates for the points linked onto the front of the asset. This is closest to what you describe but isn't as flexible as just using a curve sop.

Link to comment
Share on other sites

I'm also of the same advice with proposal #1 ... I'm planning to make few HDA and when something have to be .. addedd or modified.. (i mean geometry like your curve) i prefer to make 'em as inputs of the HDA..

and now here's my question.. is the HDA inputs limited to 4?.. how to add more visible in the netview?

cheers.

Link to comment
Share on other sites

Thank u Everybody.............

Connecting Curve externally is a good option. I had it in my mind.

But didn't know whether that's a best solution.

One more thing. You didn't answer to that one.

Where is the code for Path object Interface. When u create a Path object in viewer, you get messages like, "Left click to add points and right click to complete". I tried to fing out the code for that. But couldn't.

Creation script for that is also different. It deals with point created by user, but doesn't show how to let the user to create those points.

Where is that?????????

Thanking in advance..

------iamjaideep80

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...