Add components to mark by clicking in display window (interactively)

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

Hi all,

I am searching for a Tcl command, that can allow me to save the component ids into a mark while I click on the components in HM window/display.

In a model with more than 600 components, I need to create a list  of component ids by clicking, then write those component ids (and property ids they have) to an external text file.

Is it possible to create mark interactively by clicking on entities in display?

 

Best regards,

Mubeen.

 

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2015

    Try this TCL code:


    *createmarkpanel comps 1 'Select Comps to list'
    puts 'CompID= [hm_getmark comps 1]'
    *clearmark comps 1

    HTH,

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2015

    Try this TCL code:

    *createmarkpanel comps 1 'Select Comps to list'

    puts 'CompID= [hm_getmark comps 1]'

    *clearmark comps 1

    HTH,

     

    Tons of Thanks !! That worked like a magic image/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>