How to create a button and assign Python script on it

alpha_21885
alpha_21885 Altair Community Member
edited October 2020 in Community Q&A

Hello all,

 

I created some Python scripts but now I want to assign it on some buttons so that I can use frequently.

May I know how to do this in Simlab?

 

P.S: In HyperMesh, assign TCL script to HM button/menu is easily.

Tagged:

Answers

  • AlessioLibrandi
    AlessioLibrandi
    Altair Employee
    edited December 2019

     

    Hi, I send you an example python macro (the macro converts cone-holes into cylinders ;)/emoticons/default_wink.png' srcset='/emoticons/wink@2x.png 2x' title=';)' width='20'> ) and the instructions to add it to the browser.

     

    It should make everything clear

    Unable to find an attachment - read this blog

  • alpha_21885
    alpha_21885 Altair Community Member
    edited December 2019

    Thanks Alessio very much. Your comment is excellent!