Jump to content
Sign in to follow this  
Erwan

Create list of all components with TCL

Recommended Posts

Hello,

 

I need to do a loop on all my components and i don't know how to do it...

Something like that :

 

set list_comp {list "all" components} #doesn't work...
set m 0

 

foreach i $list_comp {
   incr m
   set cname [hm_entityinfo name components $i]
  #instruction
}

 

If someone can help me..

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×