dbDeleteObject
dbDeleteObject(
d_object
)
=> t / nil
Description
Deletes one of the following objects: shapes, nets, terminals, instance terminals, pins, instance pins, mosaics, instances, mosaic instances, properties, groups, and group members. Any other object type produces an error.
If the object is a mosaic, the associated mosaic instance list and personality array are also deleted. If the object is a net, the net’s terminal is automatically deleted and the instance terminals are disconnected from the net. If the object is a terminal, all of the associated pins are automatically deleted and corresponding instance terminals and instance pins are unbound. If the object is a pin, the instance pins are unbound and the figure is detached from the pin but not deleted.
Other functions that delete database objects, documented elsewhere in this chapter, are dbDeletePropByName, dbDeleteObjectFromGroup and dbDeleteAllNet.
Arguments
Value Returned
Examples
dbDeleteObject(net)
Related Topics
Return to top