'' Get the current document editor
Dim acDocEd AsEditor = Application.DocumentManager.MdiActiveDocument.Editor
'' Create a TypedValue array to define the filter criteriaDim acTypValAr(0) AsTypedValue
'' Assign the filter criteria to a SelectionFilter objectDim acSelFtr As SelectionFilter = NewSelectionFilter(acTypValAr)
'' Request for objects to be selected in the drawing areaDim acSSPrompt AsPromptSelectionResult
acSSPrompt = acDocEd.GetSelection(acSelFtr)
'' If the prompt status is OK, objects were selectedIf acSSPrompt.Status = PromptStatus.OK ThenDim acSSet AsSelectionSet = acSSPrompt.Value
"Number of objects selected: "& _
"Number of objects selected: 0")
Go to Solution.
Can you do a selection set based on Extended Dictionary on a Entity?
No. There is no criteria to filter selection set with Extension Dictionary.
Thanks for the reply
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.