[Sidefx-houdini-list] obtain return value only from opparm -d

jason iversen jiversen at d2.com
Wed Oct 19 16:00:29 EDT 2005

Can't you just use chs()?

Rick Walia wrote:

> Hello,
> I'm trying to extract the value of a parameter in a mantra1ROP.
> In textport:
> ->opparm -d mantra1 dof
> opparm mantra1 dof ( on )
> As you can see too much information is being returned to me.
> All I really want is either "on" or 1. I don't really want to do any 
> string processing to remove "oppparm mantra1 dof( )"
> Is there a way to force oppparm to just return the value of the 
> parameter I'm asking about? Perhaps another function?
> Thanks!

jason iversen
 digital domain
  technical director


More information about the Sidefx-houdini-list mailing list