.NET

.NET

Reply
Active Member
dayalanr
Posts: 7
Registered: ‎12-02-2009
Message 1 of 5 (548 Views)

selection filter on xdata for all type of feature

548 Views, 4 Replies
01-06-2010 09:27 AM
i am trying to create selection set entity xdata(1001, 1000,1000)

features like text,line,lwpolyline,insert....etc.


but its working only on linear features

not working on remaining features

why?

please help me
*Tony Tanzillo
Message 2 of 5 (548 Views)

Re: selection filter on xdata for all type of feature

01-06-2010 11:10 AM in reply to: dayalanr
Only the 1001 group (application id) can be used as a filter.

Other XData field are not supported by the selection filtering mechanism.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6313307@discussion.autodesk.com...
i am trying to create selection set entity xdata(1001, 1000,1000)

features like text,line,lwpolyline,insert....etc.


but its working only on linear features

not working on remaining features

why?

please help me
Active Member
dayalanr
Posts: 7
Registered: ‎12-02-2009
Message 3 of 5 (548 Views)

Re: selection filter on xdata for all type of feature

01-06-2010 07:17 PM in reply to: dayalanr
Thank u tony


Why its not possible for 1000 and 1002?
*Tony Tanzillo
Message 4 of 5 (548 Views)

Re: selection filter on xdata for all type of feature

01-07-2010 04:41 AM in reply to: dayalanr
Because xdata is not supported by selection filtering.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6313742@discussion.autodesk.com...
Thank u tony


Why its not possible for 1000 and 1002?
Active Member
pymote
Posts: 9
Registered: ‎03-22-2012
Message 5 of 5 (193 Views)

Re: selection filter on xdata for all type of feature

12-11-2012 11:50 PM in reply to: *Tony Tanzillo

I need to reopen this discussion.

 

Actually "XData Value filtering" is possible, unfortunately only for some types of Entities.

I build my filter like that:

 

TypedValueList tvl = new TypedValueList();
tvl.Add(new TypedValue((short)DxfCode.XDataStart));
tvl.Add(new TypedValue((short)DxfCode.ExtendedDataAsciiString, xdataValue));

 

My filter works on MTexts, Tables, Polylines and Ellipses

It does NOT WORK for Lines, Arcs and Circles

 

Does anybody know the reason for that?

 

 

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.