Anuncios

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

Anonymous
1325 Vistas, 11 Respuestas

Find and Replace

Hello

 

Please, help to solve the problem.

 

I want search texts of dimensions.  But tool "Find and Replace" don't find text of dimension.  But other texts (single-line text, multiline text) can find. 

 

it is setting of "Find and Replace" tool. 

 

 

4.jpg

 

 

 

As you see on pic., there are 2 texts "10". First is dimension, second is single text. The "tool" find only the single text. 

 

 

 

1.jpg

 

 

 

When I manually enter the text for dimension on "properties" window, then tool can find the dimension text.

 

 

 

2.jpg

 

 


3.jpg

 

 

 

 

 

 

Etiquetas (1)
cadffm
en respuesta a: Anonymous

You give yourself the answer.

In the first case, the dimension has the TEXT OVERRIDE "" (=nothing),
So they are not found when searching for "10".
In the second case, the textoverride is "10", so the dimension is selected.

FIND is searching for Override Text.


If you want to search for dimensions with the "Measurement = 10" property,
So use QSELECT.
However, one must then search for aligndimension, lineardimension separately.

Sebastian

imadHabash
en respuesta a: Anonymous

Hi,

 

yes exactly ... this feature only works where the dimension text has been overridden. BUT for the usual dimensions doesn't work. 

 

Regards,

Imad Habash

EESignature

Anonymous
en respuesta a: cadffm

I am not agree. Because yesterday this tool has work. Today I have not change any settings but this tool don't find the dimension text. I guess there is a problem in autocad.

 

Look settings of tool (first pic). As you see there is in "search options" a function "Dimension or leader text". It mean that, this tool must find text of dimensions. 

Anonymous
en respuesta a: imadHabash

It is not true.

 

Because yesterday this tool has work. Today I have not change any settings but this tool don't find the dimension text. I guess there is a problem in autocad.

 

Look settings of tool (first pic). As you see there is in "search options" a function "Dimension or leader text". It mean that, this tool must find text of dimensions. 

Anonymous
en respuesta a: Anonymous

FIND works for dimensin text that has been added or over-written in the dimension.  It will not find the default dimension value because that isn't text.

Kent1Cooper
en respuesta a: Anonymous


@Anonymous wrote:

FIND works for dimensin text that has been added or over-written in the dimension.  It will not find the default dimension value because that isn't text.


That  is the key.  It's only a textual-conversion representation  of what is actually stored as a numerical  value.  I don't think the assertion that this tool worked yesterday in Posts 4 / 5 can be true -- it has never worked that way in my experience.

 

To illustrate, type this in:

 

(entget (car (entsel)))

 

and select a Dimension with default  representing-the-actual-measurement text content.  There will be an entry in the resulting entity data list that looks like this:

 

(1 . "")

 

That's what shows in the "Text override" slot in properties, as mentioned by @cadffm in Post 2.  And that is what the FIND command is looking at.  It's the very same entry [a dotted pair starting with 1] that contains the text content of all  the other things FIND can work with -- Text and Mtext and Attributes, as well as Dimensions if there's any actual text overriding or adding to the measured distance [or angle].

 

If you override  the text in a Dimension, and do the same  (entget (car (entsel)))  thing, you'll see:

 

(1 . "Your override text content")

 

and FIND will  be able to work with that.  If you edit the text content of a Dimension leaving  the measured-distance numerical part in place rather than overriding completely, the measured-dimension portion will appear in the text as a pair of angle brackets  <> , for instance:

 

(1 . "<> (VERIFY IN FIELD)")

 

FIND will  be able to "see" the (VERIFY IN FIELD) part of that, but not the textual-conversion representation of the numerical distance that the <> are a place-holder for.

 

One reason it's appropriate that it not look for "text" content in the measured distance number  is that how that "shows up"  as displayed in the Dimension itself can vary depending on certain settings.  For example, a distance of 14.5 as the raw numerical value [which is what is stored] will appear as 1'-2 1/2" in Architectural units, or as 15 in Decimal units if the Dimension Style is set to round to the nearest whole unit, or as 14 1/2 in Fractional units, and some of those variably if stacked  fractions are involved.

 

You could put in a Product Feedback request to ask them to make  it Find what you want in Dimensions.  I have no idea how easy that would be, since it would have to treat Dimensions very differently from the way it treats all the other kinds of things.  It would somehow have to compare the measured distance with the particulars of the Dimension Style's text settings and  the possibility that even those  can be overridden to represent the measured distance textually in a variety of ways, without  an actual text-content  override.

Kent Cooper, AIA
Anonymous
en respuesta a: Kent1Cooper

If this tool does not work with text of dimension, then why there is this point (dimension or leader text) in search options?

 

 

 

23.jpg

Anonymous
en respuesta a: Anonymous

AutoCAD Help

 

Dimension or Leader Text

Includes dimension and leader object text in search results.

 

 

 

 

 

25.jpg

 

 

john.vellek
en respuesta a: Anonymous

Hi @Anonymous

 

My understanding of the Find Tool when searching dimensions is to find override text and not the actual dimension length values.

 

I made a quick video that shows two dimensions that have overrides. The Find tool locates these properly. When I add another dimension without overrides and search for the length value nothing is found. 

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Kent1Cooper
en respuesta a: Anonymous


@Anonymous wrote:

If this tool does not work with text of dimension, then why there is this point (dimension or leader text) in search options?

 


Yes, that's misleading.  They shouldn't  lump them together into one  category, because it can  find things in [further misleading part:] Multi-Leader text.  [Plain  Leaders get just Mtext when you give them some content.  The Leader is affiliated with the Mtext, not the other way around -- that is, you can move the Mtext and the Leader adjusts to follow, but if you grip-edit the Leader, the Mtext doesn't  follow.  So they should call the Leader  an "Mtext Leader," and not refer to the Mtext  as "Leader text."]

 

Mleader text is, as with Text/Mtext/Attributes/override-Dimension-text, actual textual content, and not a conversion of a numerical value, which is why FIND can work with it.  But for some reason it's not contained in a (1 . "...") entry in entity data as with all the other kinds, but a (304 . "...") entry.

Kent Cooper, AIA
Anonymous
en respuesta a: Anonymous

It can find dimension TEXT, but not dimension VALUES.

 

You can replace dimension values with text by editing the VALUE like this

10 SPACES AT 6" = <>

the "10 SPACES AT 6" =" part is text the "<>" part is a value, not text.