Jump to content

Prm Type For Sop Node Browser


Recommended Posts

Hello all,

So I'm looking for a PRM TYPE for a parameter that allows the user to

browse for a sop(similar to the the "object1" parameter in the object merge sop).

Unfortunatly I'm having a bit of trouble finding it in "PRM_Type.h". Can

anyone point me in the right direction?

Many thanks

L

Link to comment
Share on other sites

ie. use &PRM_SpareData::sopPath() instead. It's also useful to use OP_Node::getSOPNode() to look up the path since you can pass true to the second parameter to have extra inputs automatically added. This function will also handle cases where it's an object path instead (and thus use the render/display sops as appropriate).

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