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.