JavaScript Application Programming Interface (API) for AutoCAD
|
Autodesk.AutoCAD.js
function Acad.TransientManager.addTransient(transient,xmlData);
Parameters |
Description |
transient |
is of type Acad.Transient |
xmlData |
is of type string |
Use this function to add an Acad.Transient object to the AutoCAD transient manager. The XML data represents an AcGiDrawable object defined by the transient.xsd schema.
Returns a Promise object for which users need to specify .then(OnSuccess, onError)
. For example, function Acad.TransientManager.addTransient(transient,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 |
Copyright (c) 2016. All rights reserved.
|
What do you think about this topic? Send feedback!
|