View Single Post
Old 13th February 2007, 06:27 AM   #1
thierry_st_malo
Senior Member
Professional user
 
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
Question Problem with Tcl/TK and AC3D

I am writing a script to implement 3D guidelines (a very useful measurement and alignment tool) in AC3D.
For this I need to read the coordinates of the currently selected vertices.

I begin with:
set Vertex [ list ]

If there is only one vertex selected, no problem:
set Vertex [ ac3d get_selection_centre ]

If there are several selected vertices, I thought I could use:
set Vertex [ ac3d get_selected_objects ]

Apparently, what is returned is an empty list.
Can you help?

Thierry
thierry_st_malo is offline   Reply With Quote