Your post formatting is a little hard to read. The terminal is a logical object, not a physical object, so I imagine that you actually want to find the pin figures associated with the terminal, something like the following:
In a layout a "pin" is either a shape or an instance with a 'pin' attribute. If you access this from the terminals (logical) database object you need to see the pins (also logical) for the terminal and then the figs (physical) for the pin (CDB and OA organise these a little differently but the path is essentially the same). So you don't want to delete the terminal (typically), but if you do you would need to remove the pins and shape/instance attributes too; my guess is that you want to modify/remove the physical shapes.
Hopefully this will help you in the right direction?
In reply to skillUser:
Thank you for the reply.
I can see that the issue is while creating the label as even if I remove the dbDeleteObject, the data is getting corrupted.
or eg:if I execute the below code am getting warning as given below.
cv=geGetEditCellView()foreach(trm cv~>terminalsdbCreateLabel(cv car(trm~>textDisplays~>lpp) car(trm~>textDisplays~>xy) trm~>name car(trm~>textDisplays~>justify) car(trm~>textDisplays~>orient) car(trm~>textDisplays~>font) car(trm~>textDisplays~>height)))dbSave(cv)dbClose(cv)
Till dbSave(cv) its fine.But once i execute dbClose(cv) I am getting warning as
*WARNING* (DB-270000): dbDeleteDDObjTrigger: Attempt to purge a design that is being purged.
Thanks in advance,