pbowmar Posted August 20, 2005 Share Posted August 20, 2005 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 Quote Link to comment Share on other sites More sharing options...
George Posted August 20, 2005 Share Posted August 20, 2005 Hi Peter, You can check if the parm is invisible by doing: bool invisible = (parm->getType() & PRM_TYPE_INVISIBLE); Take care, George. Quote Link to comment Share on other sites More sharing options...
pbowmar Posted August 20, 2005 Author Share Posted August 20, 2005 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] Quote Link to comment Share on other sites More sharing options...
George Posted August 21, 2005 Share Posted August 21, 2005 Hi George, Thanks, perfect! I'm going to name my next child after you! 20722[/snapback] Sweet! And if it's a girl, I hope the kids at school don't tease her too much George. 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.