Message 1 of 3
SelectAll filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying:
TypedValue[] tvBldg = {
new TypedValue((int)DxfCode.Operator, "<AND"),
new TypedValue((int)DxfCode.ExtendedDataRegAppName, "MYAPP"),
new TypedValue((int)DxfCode.Start, "LWPOLYLINE"),
new TypedValue((int)DxfCode.Operator, "AND>") };
SelectionFilter filBldg = new SelectionFilter(tvBldg);
PromptSelectionResult resBldg = ed.SelectAll(filBldg);
But the PromptSelectionResult is always coming up with an error status.
Is this not the right way? I tried it with/without the <AND AND> as well, and there is a polyline tagged with the Xdata.
* Registered Application Name: MYAPP
* Code 1000, ASCII string: BLDG
Thanks!
Mike Caruso
Autodesk Certified Instructor 2014
AutoCAD/Civil 3D Autodesk Certified Professional 2014, 2015, 2018
www.whitemountaincad.com
Autodesk Certified Instructor 2014
AutoCAD/Civil 3D Autodesk Certified Professional 2014, 2015, 2018
www.whitemountaincad.com