2.2.1 General object functions

Returns a deep copy of object. The new object returned
has no attached attributes, and is not part of a page or part
of a component object.

Function: object-componentobject

Returns the component object that contains object, or
‘#f’ if object is not part of a component.

Function: object-connectionsobject

Returns a list of other objects that are directly
connected to object. If object is not included in a
page, raises an ‘object-state’ error. The connections
reported are independent of inclusion in components.

For example, consider a page containing a net and a component, and the
component contains a single pin. If the connectable end of the pin
intersects the net, then (object-connections <net>) will return
a list containing the pin object, and not the component.