PDA

View Full Version : About scripting


thierry_st_malo
8th March 2007, 06:08 AM
I can see that with AC3D 6.1.07 the console is now hidden. Does this mean that scripting is no longer encouraged?
Thierry

Andy
8th March 2007, 06:28 AM
Nothing should have changed. The console can be hidden/shown as an option (File->Settings->advanced).

Lewis Wadsworth
24th May 2007, 11:52 PM
Nothing should have changed. The console can be hidden/shown as an option (File->Settings->advanced).

I'm sorry if I'm being a newbie idiot here, but I do not see that option in Files>Settings>advanced with AC3D 6.2.05 on Linux (Ubuntu 7.4). Is that because I am using Linux and can start Tcl from the terminal?

I've used other programs such as SketchUp where there was a separate console built into the modeler for testing scripts, although I assume that in AC3D as with SketchUp one generally writes script with a decent text editor and then drops it into the appropriate folder in the application's directory. Please correct me if I'm wrong about that mode of operating.

Thanks in advance for your time. --Lewis

Andy
25th May 2007, 05:35 AM
Hello Lewis,

The console option is under Windows only. If you are starting Linux AC3D from a terminal window, any script output (tcl 'puts') will go there. It will be purely used for output.

You can add your own scripts in the scripts folder - they will be run when AC3D starts up.

It is possible to connect to AC3D via a socket and control AC3D (this can even be done remotely) . Once the socket is enabled (advanced settings), you can use telnet (or similar) to connect to AC3D and control it.

Andy

Lewis Wadsworth
25th May 2007, 09:50 AM
Thanks for the quick response. I'm looking forward to becoming more familiar with both AC3D and Tcl. --Lewis