TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Browny501 on March 16, 2020, 11:10:27 AM

Title: Get Text string from either a block or xref
Post by: Browny501 on March 16, 2020, 11:10:27 AM
Hi all, I'm sure somebody has asked this before but I cant find the answer.

I'm trying to select a number from the screen, which is fine when the "text" is in the drawing, however how do i get it if its in a block or xref. 
Title: Re: Get Text string from either a block or xref
Post by: CincyJeff on March 16, 2020, 12:12:20 PM
Look into nentsel.
Title: Re: Get Text string from either a block or xref
Post by: Browny501 on March 16, 2020, 12:35:06 PM
well that was easy.....just added a "n" in front of entsel.....and it works....happy days.

I've been trying all sorts.....

many thanks