Heya,
Just to save these posts getting extra long and having several solutions, it’s best to create a new one and reference this one
But yes, this solution just uses:
uidoc.Selection.PickObjects(ObjectType.Edge)
We could use
uidoc.Selection.PickObjects(ObjectType.Edge, ISelectionFilter)
There is an example of making a custom selection filter here:
Hope that helps,
Mark
1 Like