idojomo

idojomo

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

TCL Cross-Platform Issues May 11, 2005, 9:49 a.m.

Hello,

I have a question about TCL and Renderman.

I have a TCL helper application that sends information to Renderman. In order to send the “end of stream” message to Renderman, the TCL has to do a
puts “\377”

The probloem is that this works on Windows but when I get into Linux, I get the following error:
P79011 Undefined binary token 0xc3. (at line 51 in /usr/bin/tclsh /helper.tcl): Context “split gprim”: Object “<unnamed>”
P79011 Undefined binary token 0xbf. (at line 51 in /usr/bin/tclsh /helper.tcl): Context “split gprim”: Object “<unnamed>”


I tried passing the number in two chunks and I got a similar error. I also tried passing it as {“\377”} which did not work either. I have searched through sites and cannot seem to figure out what to do. Any help would be greatly appreciated - it might be something small I'm not thinking about or something large about which I have no clue.

Thank you for the help

HScript <-> TCL Feb. 25, 2005, 6:48 p.m.

source is a valid comman but it takes no arguments.
http://www.tcl.tk/man/tcl8.0/TclCmd/source.htm [tcl.tk]

In the Tk console, if i type in:
myfile.tcl $arg1 $arg2 $arg3, I still get the error.

but if go into tclsh and type the above it works, as long as I'm not calling hscript or outside programs.

At least I'm getting parameters passed on through hscript so that works for me.

Thanks

Dialog Scripts Feb. 25, 2005, 6:43 p.m.

I have a script written in HScript and TCL. Calling it in the Textport or just hscript is no problem. But I wanted to add a GUI interface so it would be easier for others to use the script. I have the ds created so that it calls the script with the appropriate arguments. I know this from testing it through dsparse. The question for me now is how to open up that dialog script in the Houdini interface

When I say a multi-select list. If there's no such thing, then I would like to create something like in the light-linking window. When light linking is being done in Houdini a window shows up that lets you choose * (all) or simultaneously highlight all the lights to be used.

Thank you