Share

Acad.Editor.CurrentViewport.ucsToWorld Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

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

Group

ACAD Namespace

Parameters

Parameter Description
inputPoint Input is a point of type Acad.Point3d on the User Coordinate System (UCS).

Returns

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

Converts a point on the current User Coordinate System (UCS) to a 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?