View Single Post
Old 21st June 2006, 12:32 AM   #7
Dennis
Senior Member
Professional user
 
Dennis's Avatar
 
Join Date: Jul 2003
Posts: 899
Default Re: Using other plugins within a plugin

Quote:
Originally Posted by conzar
so far Ive tried this
Code:
tcl_command("ac3d","exporter_write_file","\"VRML2\"",\"file.wrl\");
that doesn't seem to work. Do I need to copy everything into one string?
Yes, everything wants to be copied into one string, so your above command should be something like:

Code:
tcl_command("ac3d exporter_write_file VRML2 file.wrl");
Mind that I haven't tested this, but that's the format in which tcl_command() should take your statement. Not sure about the args, whether quotes are needed, etc.

Additional (fmt,...) args can be used to create your TCL command string as if it were in a printf() statement.
Dennis is offline   Reply With Quote