Message 1 of 4
Filtering on XDATA

Not applicable
01-09-2006
12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a program writing XDATA to different types of objects (text and
polylines). The XDATA contains a parcel number and I'd like to be able to
select the "label" (text) and the parcel line (polyline) based on the XDATA.
I tried this filter:
strParcelNumber = "xx-xxx-x-xxxx"
XFilterT(0) = 1001: XFilterD(0) = "MyApp"
XFilterT(1) = 1000: XFilterD(1) = strParcelNumber
and it selected the correct parcel lines, but would not select the text that
has the same XDATA information attached to it.
A second related question is...I have many string "fields" (DXF code 1000)
[what is each item within XDATA called?] in the XDATA. So how do I know
which "field" the filter is checking--or does it just check them all? Not
necessarily an issue here because all the "fields" contain different
information, but it could be relevant down the line.
Thanks for your help.
Ben Rand
CAD Manager
CEntry Constructors and Engineers
brand@centry.net
polylines). The XDATA contains a parcel number and I'd like to be able to
select the "label" (text) and the parcel line (polyline) based on the XDATA.
I tried this filter:
strParcelNumber = "xx-xxx-x-xxxx"
XFilterT(0) = 1001: XFilterD(0) = "MyApp"
XFilterT(1) = 1000: XFilterD(1) = strParcelNumber
and it selected the correct parcel lines, but would not select the text that
has the same XDATA information attached to it.
A second related question is...I have many string "fields" (DXF code 1000)
[what is each item within XDATA called?] in the XDATA. So how do I know
which "field" the filter is checking--or does it just check them all? Not
necessarily an issue here because all the "fields" contain different
information, but it could be relevant down the line.
Thanks for your help.
Ben Rand
CAD Manager
CEntry Constructors and Engineers
brand@centry.net