Jump to content
  • 1

'Find Text' that actually finds and shows text.


DSmith2300

Question

I have a blizzard of tree ID numbers to sift through on a large plan and it would be helpful if the 'Find and Replace' function would highlight the text that it claims it finds. 

Instead it moves the focus off to some random place away from the drawing and says "one occurrence of the text was found or changed".

 

This seems to be the equivalent of a shop assistant saying "yeah we have one of those" and walking away without further explanation as to where to find said item.

I know "X" exists, but I want to know WHERE.

 

Could this 'function' be possibly made, uh... 'functional', please?

 

  • Like 2
Link to comment

13 answers to this question

Recommended Posts

  • 0

Just so I understand:  You're not using the data attached to the plant object?  You have floating text boxes?

 

If you're using the data attached to the plant object, using a worksheet to change the data is trivial.

 

If you're using text objects it's trickier.  (and you should consider using data and tags 🙂

Link to comment
  • 0

@DSmith2300 this can probably be written better.  But I've always thought that a script that works ugly today is better than a pretty script next week.

 

@Pat Stanford might be able to find the holes in my logic here.  But this works.

 

From the attached file import into your file [or better yet, a copy of your file] the worksheet "Crazy Text Worksheet" and the script palette WS Text.

 

Recalculate the worksheet.  If it gives you a warning about executing scripts, say Yes Always.

 

In the left column you should see the text of every text object in the drawing.  If this is too unwieldy, edit the criteria to only certain layers or classes or is currently selected or whatever.

 

The second column is blank.  In the that column type in the text you want it to be.  It will change the text on the drawing and go to blank again.

 

Let us know if this works.

 

 

Get Text v2022.vwx

  • Like 2
Link to comment
  • 0
17 hours ago, DSmith2300 said:

To be clear;  frequently I am handed a .dwg with surveyed trees, already with their tree ID# floating around as text.

Sometimes there are a few hundred.

 

You see the problem...

 

Perhaps the easiest solution to your problem is to request the point file from the surveyor in .csv format.  That's what they used to create their plan in all likelyhood.

 

This would enable you to use Vectorworks  "import tree survey" function and give you far greater control over the graphics and text used to depict the trees on plan.

I do this all the time with great success.  Further, you can browse their point file with a spreadsheet program and clean the data up to suit your purposes a lot faster than in Vectorworks.  Surveyors commonly collect the 3d position of a tree along with some data like caliper size and species that can be much more valuable than a simple 2D drawing.

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...