Anuncios

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

sterling.parker
802 Vistas, 3 Respuestas

FIND only returning one instance out of many blocks with the same text

I'm running into a strange issue where the FIND command, given some text, will only find that text in one placed instance of a block, though I have multiple blocks of that same kind in the drawing. In any case, it seems to be the oldest instance. Changing criteria for FIND fails to change results. Drawing file attached.

 

Example: I have a block "CardReader" with the text "CD" in a rectangle. If I use FIND for "CD" it only returns one block, the oldest one. If I delete and insert a new instance of that block, FIND then returns, again, the next-oldest instance. 

Annotation 2019-11-19 105316.pngAnnotation 2019-11-19 105235.png

 

Product Version Q.103.0.0 AutoCAD 20.20.1

 

Possible Bug? So far as I can tell, this is just with text in blocks so far. Text outside blocks is still found correctly.

Etiquetas (3)

Hi,

 

the issue is that your letters "CD" are only find once as they are only defined within the block-definition, it's not an attribute and so counted with the number of blocks inserted already.

The display with the result is irritating indeed as it shows "Modelspace"  as location, it should show "Block-Definition" as location.

 

If you want to count these types of blocks you can use

  • _QSELECT and search for that blockname
  • _DATAEXTRACTION to create a list selected by blockname
  • or you change the block so "CD" is not a text inside the block, but it's an attribute filled value, then find will show up all appearances if the inserted block with that attribute.

 

This is the list you get when you use attributes inside the block instead of a text:

 

20191119_191340_0001.png

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)

Thank you for clarifying! That is indeed irritating, I wonder if AutoDesk would consider adding another text type to the FIND command, "Text in Blocks" or something.

cadffm
en respuesta a: sterling.parker

BLOCK is the best "Object type' you can display, because in your 12 BLOCKREFERENCEs

are exactly 0 (ZERO) hits ! not one and not 12, NOTHING!

 

The only place where one TEXT or MTEXT is (which machts your SEARCH string) is inside the BlockDEFINITION.

so you see 12 times the only ONE (M)TEXT object, which is stored inside the Block

and it isn't part of you Blockreferences.

 

Sebastian