Jump to content

How To Get Only "real" Parameters For A Node?


Recommended Posts

Hello,

I'm trying to get a list of all the parameters on a node, but only the "real" ones that exposed to a user.

For example, a Null Object has all the parameters of a Geo. I'm currently using:

PRM_ParmList* parmList = mynode->getParmList();

int numEntries = parmList->getEntries();

but this returns the hidden parameters too.

I can't seem to find a way to get just the real parameters...

Cheers,

Peter B

Link to comment
Share on other sites

Hi George,

Thanks, perfect! I'm going to name my next child after you!

Cheers

Peter B

Hi Peter,

You can check if the parm is invisible by doing:

bool invisible = (parm->getType() & PRM_TYPE_INVISIBLE);

Take care,

George.

20720[/snapback]

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