Next: , Previous: read, Up: GCL Reference

7.2.101 real-id

(real-id ID)
Returns a string canonically identifying the given ID, or nil if the object does not exist. Examples: (if (real-id fred) (delete fred)) deletes fred if it exists but reports no error if it doesn't, and (if (= (real-id targetgeom) (real-id World)) () (delete targetgeom)) deletes targetgeom if it is different from the World.