Share

Acad.Application.displayContextMenu Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Application.displayContextMenu(x, y, menu);

Group

ACAD Namespace

Parameters

Parameter Description
x Input number for the X position on screen of contextual menu
y Input number for the Y position on screen of contextual menu
menu Input Acad.Menu object that defines the menu items to appear on the contextual menu

Returns

The Promise object, then the argument can be used.

Description

Use this function to display a contextual menu in AutoCAD.

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?