Sorry, Hit the reply button instead of the new post button. Anyone got a layer and style translator. I'm looking at a drawing that obviously originated with a number of xrefs that were bound. Most of the layer names, dimension styles, and text styles are long: Example: ####.01-MP-PHASE1</body></body>-A-96-COLU I'm looking to eliminate all characters prior to $#$#- and merge objects on those layers with any layer already existing in the drawing with the same name. Am starting to code now, but would be glad to avoid the necessity. Of course, if anyone can point me to a built-in translator that would be great also. Thanks. Preliminary pseudo code: (defun translate (property collection / name ... ) ;;given a collection object, rename or move objects ;;from one name to another. ;;1. For each element in collection ;;a. Get the name ;;b. Get the name without the prefix. ;;c. If the name is different, then ;;c1. check if an item in the collection exists ;;with that name. ;;C1A. If an item exists add an association ;;to a translation schedule. ;;C1B Otherwise rename the item. ;;2. If a translation schedule exists, ;;2A.Parse the entire drawing and make ;;the property substitution to each object. ;;2B.Delete the old collection items in ;;the translation schedule. ) (defun findxrprefix (name) ;;given a name that may contain an xref and wildcard ;;number string, return the xref prefix code. ) (defun deleteprefix (name prefix) ;;given a string, eliminate the prefix if it ;;exists and return the rest. ) (defun reassignobjects(propertyname schedule) ;;Foreach object in drawing translate the ;;property according to the schedule. ) (defun c:translate () ;;Foreach item in translation list, ;;translate ) Regards, Doug