PDA

View Full Version : help : who to display the ID of a polygon



Nico75
10-22-2007, 04:10 AM
Hello,

I would like to display with LScript in the modeler, the id of a polygon selected.
I don't find the command in the docs...
Anyone can help me ?

Regards

faulknermano
10-30-2007, 03:48 AM
main
{
selmode(USER);
pc = editbegin() || error("nothing selected.");
polyc = polygons[1];
if(polyc)
info(polyc);
else
error("no poly selected");

}