Acad.Editor.CurrentViewport.worldToUCS Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.Editor.CurrentViewport.worldToUCS(inputPoint);
Group
Parameters
Parameter | Description |
---|---|
inputPoint | Input is a point of type Acad.Point3d on the World Coordinate System (WCS). |
Returns
A point of type Acad.Point3d on the current User Coordinate System (UCS) 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 World Coordinate System (WCS) to the current User Coordinate System (UCS).
Exception
Throws a TypeError
or Error
object based on the problem encountered.