Acad.TransientManager.eraseTransients Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.TransientManager.eraseTransients(transientIds);
Group
Parameters
| Parameter | Description |
|---|---|
| transientIds | is of type Array integer. |
Returns
Returns a Promise Pattern object for which users need to specify .then(OnSuccess, onError). For example, function Acad.TransientManager.eraseTransients(transientIds).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 erase Acad.Transient objects from the AutoCAD Transient Manager.