Created
April 29, 2019 17:37
-
-
Save soladiem/7bf8f7258ac3d097e3866528fe7104c1 to your computer and use it in GitHub Desktop.
Autocad Filter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Пример фильтра по слою | |
TypedValue[] filterlist = new TypedValue[1] { | |
new TypedValue((int)DxfCode.LayerName, "Layer1") | |
}; | |
SelectionFilter filter = new SelectionFilter(filterlist); | |
PromptSelectionResult selResult = editor.SelectAll(filter); | |
ObjectId[] ids = selResult.Value.GetObjectIds(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment