I wanted to know the
type of objects i have selected. say if i selected a instance, it
should print "instance selected" or "path selected".
For this i have tried
a code. unfortunately i couldn't able to finish it.
if( name == "inst"
printf("Instance not selected")
can anyone suggest me the error or correct way to get the above task.
Thanks Bernd. Hope i can do the same to find the other types of item(say path or polygons etc..)