Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everybody, I am learning AutoCAD .NET. Currently, I want to create a command to select all objects are blocks (only block name is ABC) and polyline, I do not understand about selection filters options and I am trying to define rule for selection filter below but failed. Can anyone help me with this problem. If possible could you please give me a document of Selection Filters. Thanks everyone so much. TypedValue[] tv = new TypedValue[3]; tv.SetValue(new TypedValue((int)DxfCode.Start, "INSERT"), 0); tv.SetValue(new TypedValue((int)DxfCode.BlockName, "ABC"), 1); tv.SetValue(new TypedValue((int)DxfCode.Start, "LWPOLYLINE"), 2);
Solved! Go to Solution.