Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
437 Vistas, 6 Respuestas

Find and Replace with multiple entries?

What I am trying to do is use Find and Replace to search for a couple block attributes at a time. i.e. I can find C4 or 10'-0" but I want to find only instances that contain both attributes. Is this possible?

 

Thank you.

pendean
en respuesta a: Anonymous

Why not use QSELECT or FILTER commands instead if your intent is only to "find only"?


Anonymous
en respuesta a: pendean

Neither of those options will let me drill down to the actual value of the attributes.

Thank you for the suggestion though.

pendean
en respuesta a: Anonymous

drill down? Post a DWG file and explain please.



Anonymous
en respuesta a: pendean

Okay, attached is the file I am currently checking.

My piece-marks are blocks with attributes used for the data extraction.

Capture1.JPGI am checking this drawing for accuracy and want to find all the (C4)11'-0" occurrences. The mark has attributes for C4 and 11'-0". I can find either but not both. I have an attribute that has fields that pulls all this information into the actual mark (C4)11'-0". That attribute has fields in it and is not searchable.

Capture2.JPG If I run my field to text lisp I can search exactly what I need but then I lose the functionality of the fields in that attribute.

 

This is why I am trying to figure out a way to search attribute content for both C4 and 11'-0", so I don't have to run the lisp, find and replace then undo back before the lisp. Just trying to streamline the work flow.

pendean
en respuesta a: Anonymous

Thanks for finally revealing these are FIELD objects and not just "attributes": would have made answering a lot quicker and earlier :cara_con_una_leve_sonrisa:

A field is not static text, so it is not searchable with the built-in tools that simply look for static text. Not sure if there is a solution, but it might be worth taking your last post as written to create a new post in one or more of the Customizations forums over here https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1





Anonymous
en respuesta a: pendean

I was hoping there was a way I could search a couple of the attributes to work around the one with the fields...