选择集

Posted rf8862

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了选择集相关的知识,希望对你有一定的参考价值。

1、根据图块名过滤

Dim tksTV(0) As DatabaseServices.TypedValue
tksTV.SetValue(New DatabaseServices.TypedValue(DatabaseServices.DxfCode.BlockName, tkNames), 0)
Dim tksFilter As New EditorInput.SelectionFilter(tksTV)
Dim tksPSR As Autodesk.AutoCAD.EditorInput.PromptSelectionResult
tksPSR = doc.Editor.GetSelection(tksFilter)

 

以上是关于选择集的主要内容,如果未能解决你的问题,请参考以下文章