JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.TransientManager.getCursor Function

Autodesk.AutoCAD.js

JavaScript
function Acad.TransientManager.getCursor(transientId);
Parameters 
Description 
transientId 
is of type integer 

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

Returns

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

onSuccess 
is a function type called on successful completion of this method 
onError 
is a function type called if an error occurs 
Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!