Jump to content

Recommended Posts

Posted

Dear All,

In Quick Select command function, I want to use more properties value to select one type text or other object.

Posted

Try the FILTER command instead, its like QSelect only moar.

Posted

Exactly I want to select text, by using contents properties in quick select command. Normally In that function the operator values are Equal or Not equal or Wildcard match, But i need also match case and find whole word only .

 

Please tell me , what should i do?

otherwise is there any lisp for this type of selection method?

Posted

so FILTER doesn't do it for you?

 

In my short testing, FILTER can separate from upper and lower case as well as not pick TESTING if you specified TEST as content.

Posted

When I use find command, I can find the text all as one by one, which i specified in the text string. But How can I select the found object?

And also I have disabled select All option in search resullts column on Find tool. How can I make it enable? Please tell me the way.

Posted

When I use find command, I can find the text all as one by one, which i specified in the text string. But How can I select the found object?

And also I have disabled select All option in search results column on Find tool. How can I make it enable? Please tell me the way.

 

For this function could someone make any lisp?

Posted

Try to paste the code below as answer to "Select objects:" prompter (replace "Test" with your string with desired case and preserve spaces if want to locate the whole word):

 

(ssget "_X" (list '(0 . "TEXT") (cons 1 "* Test *")))

 

Regards,

Mircea

Posted

sorry, i didn't get understand .

if you don't mine can you explain me again,

Posted

Presuming that you want to move (you didn't provided details about the action you want to perform with those entities) all text entities that contains the string "HelloWorld":

Command: [i]MOVE
[/i]Select objects: [i](ssget "_X" (list '(0 . "TEXT") (cons 1 "* HelloWorld *")))
[/i]56 found
Select objects: ...

 

Regards,

Mircea

Posted

I didn't get why you need to find the text by case with the filtering option of contents? Is it solves some business purpose or just need to do that for some kind of modification to the content of the text?

Share the logic of your thinking behind the discussion.

 

-CNatka

Posted

Dear,

I having text object 2000 more, which are having in same layer, color, width factor and text style in my drawing. The problem is, now i need to split some text and i need to make new layer for those object.

hopefully, now could you got my problem?

Posted

Yes,

So go for the way already stated by the experts and wish you good luck.

Posted

So, you need to move those text items that have in common one sub-string to a layer? In this case paste on the command line the code below, after substituting the blue parts to fit your case - please take care that the layer must be already available.

 

(command "_CHPROP" (ssget "_X" (list '(0 . "TEXT") (cons 1 "* [color=blue]HelloWorld[/color] *"))) "" "LA" "[color=blue]MyLayerNam[/color]e" "")

 

Regards,

Mircea

Posted
(ssget "_X" (list '(0 . "TEXT") (cons 1 "* Test *")))

 

Please Forgive me, If this as a trifling question

I got this in command prompt, while i am using above code. but i don't know where is the selection set. From where and how i can select the selection set?

And also i can get while i am using get selection command in express tools. this also i don't know where is it saved? from where and how i can select the active selection set?

Posted

As stated previously, use that code on the prompter that ask you for entities selection (“Select objects”); this way the selection set will be passed automatically to the editing command.

 

However, since you said that want to change those items to a specific layer, I suggest you to give a try to the code from my previous post (#14).

 

Regards,

Mircea

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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...