• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

find with autolisp texts in the blocks

  • Thread starter Thread starter x11start
  • Start date Start date

x11start

Guest
already for a long time I wrote a lisp that finds all the texts present in a drawing and then, clicking in an empty area, trace of the lines that start from that point and reach the texts found.
the command is "trovat". This command has a limit: does not find the texts within the blocks.
Can someone help me?
 

Attachments

so it should work.

lisp also searches for texts in blocks (text and mtext) and value attributes, but does not continue in the case of nested blocks.

the traced lines reach the point of insertion of the blocks containing the string sought since the extracted coordinates of the insertion point of the texts contained in them are related to the lock insertion point himself.

so that the lines can conjugate exactly such texts should be calculated also scale, rotation and mirroring of the relative blocks, which I have missed.


p.s. since in mtext, the whole word it is all the mtext, it would be worth inserting the search as pArtial.
.
 

Attachments

You're great!

When I have a moment of time, I look at the changes you've made... There is always to learn!

Thank you!
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top