Skip to main content

ModelCenter APIs 2026 R1 SP03

invokeMenuItem

Last update: 30.07.2026

abstract fun invokeMenuItem(id: Int)

Called by the Data Explorer to notify the plug-in that a user has selected a menu item. The following items are predefined: Basic Settings = -5, Print Page = -6, Export Page = -7. Optional menu items (see getMenuItems) are positive integers starting at zero.

Parameters

id The id of the menu item

Connect with Ansys