How can i choose these numbers only ?? Picture attached

How can i choose these numbers only ?? Picture attached

Anonymous
Not applicable
1,149 Views
7 Replies
Message 1 of 8

How can i choose these numbers only ?? Picture attached

Anonymous
Not applicable

this text has been written in same layer i want to choose these numbers only in one click sfsfdf.JPG

Picture attached 

0 Likes
1,150 Views
7 Replies
Replies (7)
Message 2 of 8

john.vellek
Alumni
Alumni

HI @Anonymous,

 

I am not aware of any feature or express tool that can do this action in a single click. I suggest that you look in the Autodesk App Store  or in the Customization forum to see if someone has such a routine.

 

 

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
0 Likes
Message 3 of 8

Patchy
Mentor
Mentor

Qselect, select the unwanted texts, move to another layer, then move them back later?

Qselect-1.JPGQselect.JPG

Message 4 of 8

Kent1Cooper
Consultant
Consultant

(ssget "_X" '((0 . "*TEXT") (1 . "6.5,6.55,7.5")))

 

That's looking at total text-string content, so it won't find any if they're Mtext objects with any internal formatting, or if those numerical values are part of longer Mtext strings with word wrapping, and not separate objects.  It could be made to find longer strings that contain  those bits within them, if you need that.

Kent Cooper, AIA
0 Likes
Message 5 of 8

ВeekeeCZ
Consultant
Consultant

Or another way around as Patchy suggested. Select all text and exclude those containing *-*

 

image.png

 

 

0 Likes
Message 6 of 8

john.vellek
Alumni
Alumni

HI @ВeekeeCZ,

 

 

Great ideas from both you and @Patchy.  I am just unsure as to what other text is present on the same layer as the image only shows a few objects.  I hope the exclude will work for the OP.


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
0 Likes
Message 7 of 8

roland.r71
Collaborator
Collaborator

@Kent1Cooperwrote:

(ssget "_X" '((0 . "*TEXT") (1 . "6.5,6.55,7.5")))

 

That's looking at total text-string content, so it won't find any if they're Mtext objects with any internal formatting, or if those numerical values are part of longer Mtext strings with word wrapping, and not separate objects.  It could be made to find longer strings that contain  those bits within them, if you need that.



That's asuming the numbers are limited & known.

 

How about letting the user select an entity, retrieve that entities layer, select all text on that layer,

test each if its a real or integer, add to new selection if so. (?)

 

then:

Use the selection inside lisp to do ... whatever

or preselect it, so the user can do ... whatever

0 Likes
Message 8 of 8

hmsilva
Mentor
Mentor

Try to use as Wildcard Match

#.#,#.##

QSelect.PNG

Hope this helps,
Henrique

EESignature

0 Likes