rename components to lowercase

User: "AlvaroBueno"
Altair Community Member
Updated by AlvaroBueno

Hello, 
 

someone knows how to write a tcl to rename all the components to lowercase
If not.. is it possible to export a summary file in lowercase?


Thanks!

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hi, 

     

    You can do that using the below code:

     foreach str_compName [hm_entitylist comps name] {     set str_newCompName [string tolower $str_compName];     if {$str_compName != $str_newCompName} {         if {[catch {*renamecollector components '$str_compName' '$str_newCompName'}]} {             puts 'Multiple components with name $str_compName exists '         }     } }

     

    User: "AlvaroBueno"
    Altair Community Member
    OP
    Updated by AlvaroBueno

    Thanks a lot
    This is exactly that I was looking for.

    User: "Altair Forum User"
    Altair Employee
    Updated by Altair Forum User

    Thanks for your help also