Hello, I have asked a question in one of your online formation earlier this week which has been left unanswered.
I am trying to run python macros from custom buttons. I have managed to create my extension to show a custom ribbon with icons. However I have trouble linking my python macro (macro1.py, located within my extension, next to the ribbon.xml file) to the action tag.
I know the documentation contains two examples :
command="py: filemenu.OpenFile()"
command="py: hwf.frwk.test()" and
I can't see how to adapt these examples to run my macro file from the command :
<action tag="my_action_tag" text="My Text" tooltip="My tooltip" image="tools_logo_80.png" command="py: ????"/>
And similarly, I am interested in running tcl macros this same way: command="tcl: ???"
I am working in HyperMesh OptiStruct
Thank you for your help.