JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.DrawJig.update Function

Autodesk.AutoCAD.js

JavaScript
function Acad.DrawJig.update(xmlData);
Parameters 
Description 
xmlData 
is of type string and is the XML for the drawable transient. 

Adds or updates transient entity during jigging.

Returns

Returns a Promise object for which users need to specify .then(OnSuccess, onError). For example, function Acad.DrawJig.update(xmlData).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!