Go Back   AC3D Forums > Resources > AC3D Scripts and Mods
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 29th January 2007, 01:53 PM   #1
bdb
Junior Member
Junior member
 
Join Date: Jan 2007
Posts: 2
Default Re: Authoring your own scripts

Hi,

Is it possible to show a menu after right clicking in a view? Can this be done with a script?

Thanks,
Bart


Quote:
Originally Posted by Andy View Post
From within tcl, ac3d commands are generally called like this:

Code:
ac3d select_all
If a command returns a value:

Code:
set numselobs [ac3d selection_get_num_objects ]
For a list of available commands, send AC3D a 'list' comand e.g.

Code:
ac3d list
Some tips

Rather than using 'toplevel' to create a new window, we recommend you use 'new_toplevel <windowpath> <title>'. This is a multi-platform friendly function. Using this means that the script will run on any platform. If you do not use this, the new window can easily get lost behind others.

Under Windows, set File->Settings->Advanced->show-windows-console on. Any puts output will be shown in the console window that will stay visible after AC3D starts.

This message is under construction...
bdb is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 12:28 PM.


AC3D Forum
(C) Inivis Limited 2020