How to create a drop down menu instead of a ribbon

User: "Akash Purushothaman"
Altair Community Member
Updated by Akash Purushothaman

I found a blog on how to create a Button to HyperWorks that Runs a Custom Script.

 

But I am looking to add a dropdown menu instead of a ribbon as shown below.

image

 

Any existing blog or documentation can help..

Thanks in advance

Akash P

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Ben Buchanan"
    Altair Employee
    Accepted Answer
    Updated by Ben Buchanan

    If you are using extensions the extension.xml file would look the same as for a ribbon but the xml for the dropdown menu that you reference in the extension.xml file would look something like this:

    <root> 	<actionlist> 		<action tag="uniqueActionTag" text="text" tooltip="tip" image="image-80.png" command="tcl: ::UniqueNamespace::YourProc"/> 	</actionlist>	 	<page tag="Your_Menu_Page" text="Menu Fun"> 		<menu tag="Your_Menu_Menu"> 			<actiongroup tag="Your_Menu_Group" text="groupText"> 				<action actiontag="uniqueActionTag"/> 			</actiongroup> 		</menu> 	</page> </root>

    I am working on a blog that goes over this and there are videos being created also.