Next: , Previous: CADFileToBlob, Up: CAD areas and methods


6.70 CADFindByKey

IO Parameter Type Description
in theCADArea longint Area ID
in theBlockID longint A Block ID or kCADRootBlockID for the root drawing
in theSourceScope longint kCADScopeSelectedObjects, kCADScopeAllObjects, kCADScopeObjOnEditableLayers, a Layer ID, a Sublayer ID, a programmer scope ID or an Object ID
in theTargetScope longint kCADScopeSelectedObjects or a programmer scope ID
in theTypeOfKey integer A number between 1 and kCADMaxKeyIndex
in theObjKey longint
out function result OSErr Error result code, also see Error handling