View Single Post
Old 24th January 2007, 07:19 AM   #1
thierry_st_malo
Senior Member
Professional user
 
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
Angry Line command plugin report

Having found in AC3D 6.1's "Help about plugins", I was very happy because this is just what I need for the scripts I have in mind.
I went on to produce a small tcl script that goes (the proc is called elsewhere):

proc Create_Line {} {
ac3d line
ac3d point 1 0 0
ac3d point -1 0 0
ac3d end
ac3d redraw_all
puts "Coucou !"
}

I get an error message saying:

" Exception occured in command line
Last Error (not necessarily the problem): Opération réussie. [ in French, ugh! Having said that, being French myself, I also speak French :-) ]
Please report this to Inivis. "

Well, that's reported.
Now, until this problem is fixed, what am I to do if I want to add a line, and perhaps even a polyline, programatically to an AC3D project? Create a .DXF file or whatever and re-import it? How clumsy!

Can you help?
Thanks,
Thierry

P.S : The "Coucou !" message dutifully appears in AC3D's console.
thierry_st_malo is offline   Reply With Quote