Share

Acad.TransientManager.getCursor Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.TransientManager.getCursor(transientId);

Group

ACAD Namespace

Parameters

Parameter Description
transientId is of type integer.

Returns

Returns a Promise Pattern object for which users need to specify .then(OnSuccess, onError). For example, function Acad.TransientManager.getCursor(transientId).then(onSuccess, onError);

Value Description
onSuccess is a function type called on successful completion of this method
onError is a function type called if an error occurs

Description

Use this function to get the current cursor assigned to an Acad.Transient object. It is returned in the cursor property of the object of the onSuccess method. This is an optional cursor attribute in the transient XML schema.

ACAD Namespace

Was this information helpful?