Share

Acad.Application.showHTMLDialog Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Application.showHTMLDialog(location, opts);

Group

ACAD Namespace

Parameters

Parameter Description
location location (URL) of the HTML document.
options attributes for the HTML dialog. You can use these attributes:
  • bool modal;
  • bool allowResize;
  • bool allowMaximize;
  • bool allowMinimize;
  • bool persistSizeAndPosition;
  • bool initPosition;
  • bool initSize;
  • bool maxSize;
  • bool minSize;
  • int x;
  • int y;
  • int width;
  • int height;
  • int maxWidth;
  • int maxHeight;
  • int minWidth;
  • int minHeight;

Returns

The Promise object, then the argument can be used.

Description

Use this function to show a HTML dialog in the specified location (URL).

ACAD Namespace

Was this information helpful?