http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=5507&highlight=opparm [sidefx.com]
Dear Readers,
I came across the above link but I still can't figure out the proper syntax for opparm'ing channel references. I can opparm the values using HScript, but it's not a channel reference. What's the proper syntax?
Sincerely,
markerline
syntax for opparm
5417 3 1- markerline
- Member
- 245 posts
- Joined: Sept. 2008
- Offline
- deecue
- Member
- 412 posts
- Joined: July 2005
- Offline
well, opparm can do a lot of things.. are you trying to list the value of the channel reference at the current point in time, are you trying to list the channel reference expression itself, or are you trying to add a channel reference with opparm..
that might clear things up a bit, but for now, let's say you have geo1 and geo2 and they're both at the obj level. geo1 tx is referencing geo2 tx so the relative expression reads ‘ch(“../geo2/tx”)’.
to generate a script and see how to use chadd and chkey, you could:
opparm -dx geo1 tx
to set the relative reference expression:
opparm geo1 tx ( “ch(\”../geo2/tx\“)” )
to list the current value of the reference:
opparm -d geo1 -v tx
hope that helps,
dave
that might clear things up a bit, but for now, let's say you have geo1 and geo2 and they're both at the obj level. geo1 tx is referencing geo2 tx so the relative expression reads ‘ch(“../geo2/tx”)’.
to generate a script and see how to use chadd and chkey, you could:
opparm -dx geo1 tx
to set the relative reference expression:
opparm geo1 tx ( “ch(\”../geo2/tx\“)” )
to list the current value of the reference:
opparm -d geo1 -v tx
hope that helps,
dave
Dave Quirus
- markerline
- Member
- 245 posts
- Joined: Sept. 2008
- Offline
- deecue
- Member
- 412 posts
- Joined: July 2005
- Offline
-
- Quick Links