Menu.AddSubMenu


Back

Introduced

v9.5 (2011)

Description

Add a sub-menu item to this menu onto which further MenuItems (http://softimage.wiki.softimage.com/sdkdocs/MenuItem.htm) can be attached. Tip: Use this method in python for creating sub menu items instead of invoking Menu.AddItem (http://softimage.wiki.softimage.com/sdkdocs/Menu.AddItem.htm) with siMenuItemSubmenu.


Scripting Syntax

oReturn = Menu.AddSubMenu( in_pLabel );


Return Value

The newly created Menu (http://softimage.wiki.softimage.com/sdkdocs/Menu.htm) object.

Parameters

Parameter Type Description
in_pLabel String (http://softimage.wiki.softimage.com/sdkdocs/String.htm) Menu label

This page was last modified 21:27, 10 Dec 2010.
This page has been accessed 2170 times.

© Copyright 2009 Autodesk Inc. All Rights Reserved. Privacy Policy | Legal Notices and Trademarks | Report Piracy