SELECT SIMILAR Command is not working as it should.

SELECT SIMILAR Command is not working as it should.

Anonymous
Not applicable
5,400 Views
15 Replies
Message 1 of 16

SELECT SIMILAR Command is not working as it should.

Anonymous
Not applicable

I made different layers .

Then i draw different objects on these layers in different layers.

Then i invoked SELECTSIMARAL command and in setting i checked colour. 

So that the selection happen on the basis on colur. 

See in the screen-shot 1 circle , 1 rectangle & 1 polygon are drawn in yellow colour .

But when i click on yellow circle to see the effect of SELECTSIMILAR command only circle is selected leaving behind  the other two objects of the same colour unselected. 

Why is it so ?? I'm using AutoCAD 2018 .m.JPGmm.JPGjj.pngjjj.png

 

 

0 Likes
5,401 Views
15 Replies
Replies (15)
Message 2 of 16

MikeKovacik4928
Advisor
Advisor

You have to use Qselect for that. Selectsimilar doesn't do that.

 

Autocad Queries 054_Select Similar Command-002.jpgAutocad Queries 054_Select Similar Command-003.jpg

 

Michael Kovacik
2d & 3d Autocad and Inventor designer/draughtsman
.
Draughting/Designing (Manufacturing) (31 yrs)
-Drawing Board (3 yrs)
--Cad (28 yrs)
---Cadkey (4 yrs)
---AutoCAD 2d & 3d (16 yrs)
---Inventor (4 yrs)
---Autocad and Inventor Simultaneously (4 years)
---(and recently Autocad/Inventor Customisation)
.
Authorised Autocad & Inventor Professional
Authorised Autodesk Trainer
.
Autodesk Product Design Suite Ultimate 2018
Autocad 2018, Inventor Pro 2018
(personal licensed copy)
.
Johannesburg, South Africa
.
(Impossible only means you haven't
found the solution yet)

Message 3 of 16

cadffm
Consultant
Consultant
SelectSimilar search for ObjectTYPE (and your setting of selectsimilarmode).

Circle+Color in your Example.

Sebastian

Message 4 of 16

Anonymous
Not applicable

If SELECTSIMILAR can't select objects on the bases of colour then why this Option (Colour) is there in the settings on SELECTSIMILAR command ??

0 Likes
Message 5 of 16

MikeKovacik4928
Advisor
Advisor

Good Question

 

One that can only be answered by the people who wrote the software.

Maybe Autodesk can provide an answer for you.

We, as experienced users, can only tell you what the software can do

We use the software provided to us, and we have to abide by the

rules of the software.

 

Michael Kovacik
2d & 3d Autocad and Inventor designer/draughtsman

 

Draughting/Designing (Manufacturing) (31 yrs)
-Drawing Board (3 yrs)
--Cad (28 yrs)
---Cadkey (4 yrs)
---AutoCAD 2d & 3d (16 yrs)
---Inventor (4 yrs)
---Autocad and Inventor Simultaneously (4 years)
---(and recently Autocad/Inventor Customisation)
.
Authorised Autocad & Inventor Professional
Authorised Autodesk Trainer
.
Autodesk Product Design Suite Ultimate 2018
Autocad 2018, Inventor Pro 2018
(personal licensed copy)
.
Johannesburg, South Africa
.
(Impossible only means you haven't
found the solution yet)

 

 

 

 

 

 

0 Likes
Message 6 of 16

cadffm
Consultant
Consultant
It CAN select objects by color, but you had only one CIRCLE in color yellow and it is selected before as source object and after the command, as result.

The objectTYPE is ever set as a filter!

Draw 3 lines, 3 circles and 3 text, set only two of each to yellow, select on yellow line and one yellow text,
use selectsimilar and check the result to understand how the command works.

Sebastian

0 Likes
Message 7 of 16

MikeKovacik4928
Advisor
Advisor

Sebastian

 

the way you are explaining it is exactly as I said in my post.

when you select one yellow line and one yellow text and use selectsimilar,

and change the settings to colour, or alternatively change

selectsimilarmode to 1 which is colour (same effect)

it selects all the 2 yellow lines (not the yellow circles)

and the 2 yellow texts (again not the yellow circles)

therefore select similar CANNOT select objects by colour, it defaults to object type,

and selects the yellow object types picked NOT all yellow objects.

 

Therefore to select all yellow objects (regardless of their object type) you have to use QSelect.

This is as explained in the AutoCAD Help itself, a screenshot of which was in my previous post

 

Mike

 

 

 

0 Likes
Message 8 of 16

cadffm
Consultant
Consultant
Exactly.
For only color filtering
QSELECT
and
FILTER
and with installed expresstools)
SSX

Sebastian

0 Likes
Message 9 of 16

MikeKovacik4928
Advisor
Advisor

Thanks

I see how filter works - great

I can't figure out how to apply ssx to a command.

 

Is not filter and ssx, the same as Qselect

or are they different?

 

Mike

0 Likes
Message 10 of 16

cadffm
Consultant
Consultant
Try to ... with all commands..

a. Filter all lines with length 15

b. Filter all circles and lines with color2

c. Filter all yellow lines and red circles

d.Filter for objects with normal vector not 0 0 1

e. Save the search-filter to use multiple times, next week, next month.

No the commands are not equal.
Some hints.

QSelect
Select only objects in current space.
You can search for not stored properties like the length of a line.

SSX
Its a cutted/little commandline version of ssget, the Lisp-function object selection.
Its the only way of all three for using in commandline, so it is helpful for menumscros and scripts

Filter
Old DXF based filter, search the whole drawing and offer much of the Its a powerful GUI version of ssget, the Lisp-function object selection.
The dialog remember your last setting and you can save your filterlists, so you csn use it in another file or another session.

And many more.

Sebastian

Message 11 of 16

MikeKovacik4928
Advisor
Advisor

Thanks Sebastian

 

Filter and ssx are both new to me.

Learning new things all the time, even

after using AutoCAD for 20 years!!

Will try it out, still struggling with SSX.

If I have any problems I will get back to you

 

Mike

0 Likes
Message 12 of 16

MikeKovacik4928
Advisor
Advisor

Okay Sebastian

 

Time to call for help!

I can get Quickselect to do a, b, c but not d,e (I don't think it can)

I can't figure out how to a,b,c,d,e, with ssx. I need guidance or a pointer to a nice tutorial

I also can't figure out how to do a,b,c,d,e with filter. Once again guidance or pointer to a tutorial

Can you guide me to something on vectors too. I know what vectors are from engineering maths,

I know what they are in 3d space, I'm not quite sure how they are identified in Autocad

 

Mike

0 Likes
Message 13 of 16

cadffm
Consultant
Consultant
I will give you full answer later, but in hurry:

No one of that function can all a-e filter, thats the point.
You asked "all the same?"
My answer: No, try to filter the five examples.

Length of <some objecttype> is possible only with QSelect for example.

I will write more in the next hours.

"I know what vectors are from engineering maths,"
Exactly! Autocad works in a 3D room and all objects are in this 3d space, all points/coordinates are x,y,z.
95% of objects has there own object-coordinate system or better normal vector.
Sorry that i can't explain it in this language (i am happy enough that you understand my other posts).

To filter normal vector was only one example to show what FILTER and SSX can, but qselect not.

Yellow circle OR red lines,
thats not possible for qselect and ssx, but FILTER can filter this.

Read you later
Sebastian

Sebastian

0 Likes
Message 14 of 16

GrantsPirate
Mentor
Mentor

In this case the color of the object is bylayer.  Change the circles to a color and you will see the difference.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

0 Likes
Message 15 of 16

cadffm
Consultant
Consultant

@MikeKovacik4928 sorry, no time for larger answers these days.

But after @GrantsPirate posting: I dont know what he talk about in this case, but i saw one thing in your picture of first post:

 

You talked about " in yellow colour ". Yes, it is one of thousends yellows.

But Truecolor is a very special thing in AutoCAD (for plotting) and in DXF ~ and so for selection with ssx&filter).

For testing use only Autocad Color Index / ACI-colors (color 1-255), it is to hard for me to explain it now in english why not TC or what is special.

ByBlock= Color0

ByLayer= Color256

(use FILTER - add selected Object, so you can get this information too)

 

Note: SSX create (only) a selectionset, not a griptset.

Use ssx, you get answer from acad: 2 found.

Now you can use the selectionset if a command ask for an object-selection

via selection mode P = PREVIOUS

 

move<enter>

select objects: P<enter>

 

Or set Pickadd=2

Use SSX

Start command SELECT

select objects: P<enter>

 

cu

 

Sebastian

0 Likes
Message 16 of 16

MikeKovacik4928
Advisor
Advisor

Thanks for all your reples. Will look at them over the next few days.

I only do this at home, not at work, and  my time is limited.

 

Will revert back to you

 

Mike

 

0 Likes