texporter

   6847   7   3
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Is there such a thing as being able to have the texporter “echo all commands”

Rob
Gone fishing
User Avatar
Member
166 posts
Joined: Feb. 2006
Offline
If you meant to print out all the available commands in the Textport:

There is ‘help’ which will print out all the commands and ‘exhelp’ which will print out all the expression commands.
You can use the ‘-k’ flag if you want to print all the commands related to a keyword.
Time to get out of this messy world.
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
I was thinking along the lines of maya's script editor… for getting values. Instead of calling up various nodes via “tab” why not just script what I want to build with all its settings and run it

Rob

This program has me hooked ……


Gone fishing
User Avatar
Member
166 posts
Joined: Feb. 2006
Offline
But you can:
for example in your script ( blabla.cmd ): you use ‘opadd’ to add an operator, and ‘opparm’ to set/get the parameters of your op. Then ‘opwire’ to wire your op together.
Finally in the textport you type 'source /blabla.cmd' and voila! Although that ‘source’ can be skipped, I think. I guess you could have a look at ‘123.cmd’ and for any usage of ‘opparm’, etc, type help opparm.
Also you can put down and an operator using ‘TAB’ then type ‘opscript’ it will give the script for what you ve just done.
Time to get out of this messy world.
User Avatar
Member
7024 posts
Joined: July 2005
Online
The only command you need is “opscript” which, when run on a node or set of nodes (or whole network with the -r flag) will dump all the commands used to create those nodes.

That's how I learned Hscript, long long ago )

Cheers,

Peter B
User Avatar
Member
2199 posts
Joined: July 2005
Online
Don't forget

opscript -b

using the -b switch will only echo non default values which is handy for cuttiong down on “noise” when reading hscript.

Also

commandecho is handy for other non hscript style things that go on in the ui.
The trick is finding just the right hammer for every screw
User Avatar
Staff
3455 posts
Joined: July 2005
Offline
my understanding is that ‘commandecho’ is a first step towards a Maya like ‘echo all commands’…

but right now opscript is your best bet.
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Thanks gents

R
Gone fishing
  • Quick Links