Proceed instantly

Beta
Beta New Altair Community Member
edited October 2020 in Community Q&A

Hi,

 

I knew that entities could be selected interactively with *createmarkpanel, but I want to execute the command right after I choose an entity without clicking to proceed button.

 

Is there any way to do that ??

 

 

Answers

  • tinh
    tinh Altair Community Member
    edited August 2018

    Yes, there is a way to do that.

    But in view point of programming,  it is not good.

    If you select wrong entity (very frequently occur in hm), you don't have a chance to correct selection. then you start again, finally it costs more time than to click 'proceed',  yet count the time you need to fix your mistake :rolleyes:/emoticons/default_rolleyes.gif' title=':rolleyes:' />

  • Beta
    Beta New Altair Community Member
    edited August 2018

    Actually, My task is quite simple: just show the id of the node right after choosing it so I think the problem you said does not matter so much in my case.

     

    However, I agree with you about the wrong entity selection possibility in HM

  • tinh
    tinh Altair Community Member
    edited August 2018

    You need to define a proc that takes selected node ids to number them

    And then register it as a callback with hm_framework

    Event is graphic selection changed

  • Beta
    Beta New Altair Community Member
    edited August 2018

    Hi Tinh,

     

    Thank you very much for your instruction