🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

select comp through an element

User: "Beta"
New Altair Community Member
Updated by Beta

Hi,

 

I am looking for a solution to get the comp id from a specific element.

 

Is there any way I can automatically get the component id from an element id that belongs to the comp ??

 

Thank you!

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "vipin_22401"
    Altair Community Member
    Updated by vipin_22401

    Hi Toan,

     

    You can use the hm_getvalue command

    set comp_id [hm_getvalue element id=1776 dataname=collector]

    User: "Beta"
    New Altair Community Member
    OP
    Updated by Beta

    Hi Vipin,

     

    Thank you very much.

     

    I missed collector data name :))