Syntax

MMpy.Command(menu_id)

Description

Creates a new command action object instance.

Parameters

Name
Type
Description

menu_id

int or string

The ID or name of the command.

Returns

Type
Description

MMpy.Command

A new command object instance.

Examples

command = MMpy.Command(33526)

Resource ID

IDPH_COMMAND