![]() |
#1 |
Senior Member
Professional user
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
|
![]()
I have written a first script and saved it in the "plugins" directory, but it doesn't appear anywhere in the menus. How can I test it?
Thanks, Thierry |
![]() |
![]() |
![]() |
#2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
put it in the scripts folder - then it will be executed when AC3D starts.
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Professional user
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
|
![]()
My mistake, Andy; sorry about that: you had already answered the very same question in another post. I've made an ass of myself again.
But as I am at it, how can I write a tcl/tk script (I don't want to mess with C or C++) that will be launched from an AC3D menu? You see, the scripts I have in mind will operate on the selected object(s). Is there somewhere an example which I can study? Regards, Thierry |
![]() |
![]() |
![]() |
#4 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
AC3D's UI is defined in Tcl/Tk in the tcl folder - have a look there.
You may want to try this to add a menu item to the tools menu add_tools_menu { label command help } |
![]() |
![]() |
![]() |
#5 |
Senior Member
Professional user
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
|
![]()
Thanks, Andy.
Thierry |
![]() |
![]() |
![]() |
|
|