how to get assem name of a component

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

hi all,

can anyone pls help me in finding assembly name of a component

 

thanks in advance

 

regards,

JAMIE

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    Hi Jamie,

    Select the 'selector' option in Model browser and click directly on the component in the graphics area so that in the model browser the respective assembly and component will be opened.

    <?xml version="1.0" encoding="UTF-8"?>s.PNG

  • tinh
    tinh Altair Community Member
    edited November 2017

    If you want to get it by tcl:

     *createmarkpanel comps 1 'pick a comp' set compname [hm_getmarkvalue comps 1 name 1] set assemlist [hm_assemlist \0] while {[string first [set randname [expr rand()]] $assemlist]!=-1} {} set assemlist [string map [list $compname $randname] $assemlist] set assemcomp [lsearch -all -inline -glob $assemlist *\0$randname] foreach item $assemcomp {      puts [lindex [split $item \0] end-1] }