Share

Acad.Editor.CurrentViewport.pointToWorld Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

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

Group

ACAD Namespace

Parameters

Parameter Description
inputPoint Input is a point of type Acad.Point2d on the screen.

Returns

3D point on the World Coordinate System (WCS) of type Acad.Point3d 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 3D point on the World Coordinate System (WCS).

Exception

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

ACAD Namespace

Was this information helpful?