| Author |
Message |
kb
Guest
|
Posted:
Thu Apr 07, 2005 1:26 am Post subject:
Query objects with null value |
|
|
Is there a way in to query objects that don't have object data tagged to them? I want to seperate the tagged objects from the untagged objects through a query. The way I'm doing it now, is that I first query all the tagged objects into a drawing. I then save that drawing as tagged objects. Next I have a blank drawing with SaveBack settings saved in it, so I attach original source drawing with all the objects in it (tagged and no tag) and query in the tagged drawing I just created, and then detach the orginal. I then used the save back options that we saved in the blank drawing and remove objects from the source drawing. This gives me one drawing with tagged objects and one drawing with no tagged objects.
There must be a better way, but I've tried everything and can't get it to work.
where object data value = < 0
where object data value = null
where object data value = ''
where object data value = ""
Nothing works,
Any ideas?
|
|
| Back to top |
|
 |
Jorge Jimenez
Guest
|
Posted:
Thu Apr 07, 2005 8:17 am Post subject:
Re: Query objects with null value |
|
|
where object data value is null
--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica
"kb" <nospam@address.withheld> wrote in message
news:31374794.1112822802420.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Is there a way in to query objects that don't have object data tagged to
them? I want to seperate the tagged objects from the untagged objects
through a query. The way I'm doing it now, is that I first query all the
tagged objects into a drawing. I then save that drawing as tagged
objects. Next I have a blank drawing with SaveBack settings saved in it,
so I attach original source drawing with all the objects in it (tagged and
no tag) and query in the tagged drawing I just created, and then detach
the orginal. I then used the save back options that we saved in the blank
drawing and remove objects from the source drawing. This gives me one
drawing with tagged objects and one drawing with no tagged objects.
There must be a better way, but I've tried everything and can't get it to
work.
where object data value = < 0
where object data value = null
where object data value = ''
where object data value = ""
Nothing works,
Any ideas? |
|
|
| Back to top |
|
 |
Tony Tanzillo
Guest
|
Posted:
Thu Apr 07, 2005 7:26 pm Post subject:
Re: Query objects with null value |
|
|
Object Data is stored in a dictionary that is a child of
the object's extension dictionary. It's easy to determine
what the dictionary name is, and that's really all you need.
Just filter out objects that either have no extension
dictionary, or have no specific child dictionary within
their extension dictionary, with the determined name.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
"kb" <nospam@address.withheld> wrote in message news:31374794.1112822802420.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Is there a way in to query objects that don't have object data tagged to them? I want to seperate the tagged objects
from the untagged objects through a query. The way I'm doing it now, is that I first query all the tagged objects
into a drawing. I then save that drawing as tagged objects. Next I have a blank drawing with SaveBack settings saved
in it, so I attach original source drawing with all the objects in it (tagged and no tag) and query in the tagged
drawing I just created, and then detach the orginal. I then used the save back options that we saved in the blank
drawing and remove objects from the source drawing. This gives me one drawing with tagged objects and one drawing
with no tagged objects.
There must be a better way, but I've tried everything and can't get it to work.
where object data value = < 0
where object data value = null
where object data value = ''
where object data value = ""
Nothing works,
Any ideas? |
|
|
| Back to top |
|
 |
|
|
|
|