Ssget help entity without handles.

Nauman M

Usenet Archive
Joined
Aug 11, 2003
Messages
9
Reaction score
0
Unattached.
(360 . <Entity name: 0>)

Attached
(360 . <Entity name: 42bdc9f0>)

I want to select all the objects that are not attached to another entity. i.e.e their DF code 360 is (360 . <Entity name: 0>) as comapred to the one that are attached have the handle for the object these entitties are attached to.

I cannot figure out the filtering part for the handles.

I can find all the doors

(ssget '(( 0 . "AEC_DOOR"))) I want to select all doors that are free floasting I know this is a ADT thing, but since I only want to get an idea of how I can use ssget I thought to post it here.

thanks
 
since nothing can own the named object dictionary, you might think this (ssget"X"(list(assoc 330(entget(namedobjdict))))) would work... but it doesnt seem reliable!

use (ssget'((0 . "AEC_WHATEVER")))
then for each member of the selection set,
check if its 330 is equal to ename_0
((setq ename_0(cdr(assoc 330(entget(namedobjdict))))))
 
(ssget) only selects entities. It can't select objects
that are not entities (objects that you can't see in the drawing view).

mataeux said:
since nothing can own the named object dictionary, you might think this (ssget"X"(list(assoc 330(entget(namedobjdict))))) would work... but it doesnt seem reliable!

use (ssget'((0 . "AEC_WHATEVER")))
then for each member of the selection set,
check if its 330 is equal to ename_0
((setq ename_0(cdr(assoc 330(entget(namedobjdict))))))
 
i'm just suggesting a guaranteed way to retrieve <Entity name: 0> would be (assoc 330(entget(namedobjdict))) not suggesting that nongraphic entities would be returned by ssget,

the original post suggested there could exist graphic entities that have (330 . <Entity name: 0>) is that true? i thought all objects in modelspace would have (330 . <pointer-to-*Modelspace>) ? so any 'unowned' objects would be found only in the AEC dictionaries?
i don't know

still, (ssget "X" '((330 . <Entity name: 0>)))
returns a seemingly unpredictable selection set

Tony Tanzillo said:
(ssget) only selects entities. It can't select objects
that are not entities (objects that you can't see in the drawing view).
 

Latest threads

Back
Top