Inserts a new menu item before the specified item in the context (right click) menu for all attributes of the given type. Note that that attribute type can be either "all", or a whole type (e.g. "Geometric") or a sub type (e.g. "Line Geometric") The specified item can be represented as either text or ID and could refer to either a sub menu or a menu item
| attributeType | string | "Loading", "Support", "Material", etc |
| beforeItem | string or integer | menu item before which new item is to be placed |
| itemText | string | text of new item |
| command | string | command to execute when menu item selected |
| helpString | optional string | help string to be displayed in status bar when cursor hovers over menu item |
| sessionFile | optional boolean | Default true. Should commands appear in session file when item selected? |
| Return value | none |
Back to Modeller
Back to Overview