Acad.TransientManager.eraseTransient Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.TransientManager.eraseTransient(transientId);
Group
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.eraseTransient(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 erase the Acad.Transient object from the AutoCAD Transient Manager.