Share

Acad.Editor.CurrentViewport.pointToScreen Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Editor.CurrentViewport.pointToScreen(inputPoint);

Group

ACAD Namespace

Parameters

Parameter Description
inputPoint Input is a point of type Acad.Point3d on the current coordinate system.

Returns

2D point on the screen of type Acad.Point2d in the success callback function.

This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError) function.

Description

Use this function to return the 2D point on the screen.

Exception

Throws a TypeError or Error object based on the problem encountered.

ACAD Namespace

Was this information helpful?