Hi all
I am creating comps with for loop, however i really dont know how to catch error in TCL.
I want to skip the error " A component by that name already exists in database"
Regards
for {set i 10} {$i <20} {incr i} {
*createentity comps name=pshell.$i id=$i
if { [catch {set $i [expr $i + 1] }] } {
set $i [expr $i + 1]
}
}