Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Restoring an object after dbDeleteObject

$
0
0

Is it possible to save an object before I run dbDeleteObject so that it can be restored. I am working on a script where I may want to restore an instance I deleted.

Is the only way to do this brute force by saving all of the instances properties?

Example code:

inst = car( cvid->instances); Get my instance

backupInst = inst

dbDeleteObject(inst); delete inst

Both inst->?? and backupInst return:

     -> dbGetq: object is a purged/freed object - db:0x2057b31b

What I want to do next:

dbCreateObject(backupInst); A function that doesn't exist.....


Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>