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

Rick Walia rickw at the-mill.com
Wed Oct 19 15:43:37 EDT 2005


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!

-- 
Rick Walia

The Mill NY






More information about the Sidefx-houdini-list mailing list