PDA

View Full Version : Filter Command



alfa
10-05-2004, 09:06 PM
I am trying to filter two objects in Autocad 14, a block and a point on a specific layer and cannot seem to get them both. I don't know if I am doing the query right?

Eddie
10-05-2004, 09:58 PM
8) What have entered in for the filter ?

alfa
10-05-2004, 10:52 PM
This is my query:

Object = Block
Block Name = RED
** Begin AND
Layer = SUB-GRID
Object = Point
** End AND

alfa

bob.at
11-05-2004, 05:44 AM
Try the following:

** Begin OR
** Begin AND
Object = Block
Block Name = RED
** End AND
** Begin AND
Layer = SUB-GRID
Object = Point
** End AND
** End OR

Eddie
11-05-2004, 05:47 AM
8) OK....from memory......you can not filter for 2 different objects.....

what you can do is filter either the block or point.

For the block...

object = block
** Begin AND
Block Name = RED
** End AND
and add this if you wish to filter by this property aswell.
** Begin AND
Layer = SUB-GRID
** End AND

As I said .... from memory...maybe someone else can clarify this further

bob.at
11-05-2004, 05:55 AM
Eddie,
sorry for adjusting you.
1.) I think with ** Beginn OR you can select to different things (see my first post)
2.) You dont need a **Beginn AND - ** End AND if you have only one parameter enclosed, because AND is an operator wich needs at least to arguments. In addition you can omit the AND everytime when you have no other operators, becaus AND is the default operator. So

**Begin AND
block name=myblock
layer=mylayer
**End AND

is equivalent to

block name=myblock
layer=mylayer

Eddie
12-05-2004, 11:33 PM
8) No need to appologies BOB...as I said I could not remember if it was possible or not as I haven't used filter in ages.....

Thanks anyway.