bpy.ops.cm3d2menu

def align_attach_point_to_selected(*, scale):

Align Attach Point to Selected
Align the active CM3D2Menu's active attach point to the first other selected object
scale: float5.0
Scale
The amount by which the mesh is scaled when imported. Recommended that you use the same when at the time of export.

def align_selected_to_attach_point(*, scale):

Align Selected to Attach Point
Align other selected objects to the active object's active CM3D2 attach point
scale: float5.0
Scale
The amount by which the mesh is scaled when imported. Recommended that you use the same when at the time of export.

def command_add(*, string, type):

Add Command
Adds a new CM3D2MenuCommand to the active CM3D2Menu
string: str'newcommand'
String

type: bpy.ops.command_add.type_enum'NONE'
Type

def command_move(*, direction):

Move Command
Moves the active CM3D2MenuCommand up/down in the list
direction: bpy.ops.command_move.direction_enum'UP'
Direction

def command_remove():

Remove Command
Removes the active CM3D2MenuCommand from the active CM3D2Menu

def export(*, filepath, is_backup):

Export CM3D2 Menu File
Writes the active CM3D2Menu to a .menu file
filepath: str''
filepath

is_backup: boolTrue
Backup
Will backup overwritten files.

def import(*, filepath):

Import CM3D2 Menu File
Open a .menu file
filepath: str''
filepath

def param_add():

Add Parameter
Adds a new CM3D2MenuParam to the active CM3D2MenuCommand

def param_move(*, direction):

Move Parameter
Moves the active CM3D2MenuParameter up/down in the list
direction: bpy.ops.param_move.direction_enum'UP'
Direction

def param_remove():

Remove Parameter
Removes the active CM3D2MenuParam from the active CM3D2MenuCommand