hopbin9 75 Posted May 13, 2011 Hi, Ok, I've done this before but now I can't remember how. When I create a digital asset, and then use them again, they are appearing under the tab / Menu / Digital Asset. How do you define your own menu section for your assets? I have something called xRing and I want to put it under xPrimitives? Thanks Share this post Link to post Share on other sites
lukeiamyourfather 191 Posted May 13, 2011 In the type properties dialog there's a tab called Tools then a another tab called Context. There's a parameter there called TAB Submenu Path. Share this post Link to post Share on other sites
hopbin9 75 Posted May 13, 2011 In the type properties dialog there's a tab called Tools then a another tab called Context. There's a parameter there called TAB Submenu Path. awesome, thank you. Share this post Link to post Share on other sites
redpaw 0 Posted June 12, 2019 Any idea how to query that "Tab Submenu path" string on an HDA using python? cant' seem to find that bit of data anywhere? Share this post Link to post Share on other sites
animknight 8 Posted June 19, 2019 It can be done but there's no direct way to access it AFAIK hda_def = hda_node.type().definition() tools_section = hda_def.sections()['Tools.shelf'] # tools_section.contents returns an XML string which you # need to parse and get the value of the tab Submenu path tools_contents = tools_section.contents() Hope it helps -J Share this post Link to post Share on other sites
Pancho 18 Posted June 19, 2020 In H18 there's no Tab called tools anymore. What has changed and how do I accomplish it now? Share this post Link to post Share on other sites
Pancho 18 Posted June 19, 2020 Interactive -> Shelf Tools 1 Share this post Link to post Share on other sites
papsphilip 8 Posted August 27, 2021 How can i make a submenu inside Digital Assets to store specific HDAs? Asset Manager - select the HDA i want - right click Type Properties - Interactive -Shelf Tools - Context - TAB Submenu Path - currently set to Digital Assets can i write something like Digital Assets/Custom Menu ? Share this post Link to post Share on other sites
papsphilip 8 Posted August 27, 2021 yes i can apparently Share this post Link to post Share on other sites