Share

Acad.Menu Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Menu(items);

Group

ACAD Namespace

Parameters

Parameter Description
items Input array of Acad.MenuItem objects which to add to the menu

Returns

Acad.Menu

Description

Use this function to add menu items to a contextual menu.

The Acad.displayContextMenu function is used to display the menu.

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?