Skip to main content

ModelCenter APIs 2025 R1

invokeMenuItem

Last update: 16.07.2025

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