AnsweredAssumed Answered

PropertyManagerPageSelectionbox deselect or line filter

Question asked by Andy Braham on Feb 26, 2015
Latest reply on Mar 2, 2015 by Andy Braham

Hi everyone,

   I have a problem with the selection control on a custom property manager page, I am writing a macro (vba) that requires a line (not arc, spline etc). The only filter I was able to find for the selection box was for sketch segments but could not find a way to specify just a line. Is there a way to do this?

   The only option I was able to figure out to accomplish this is comparing the selection using the OnSelectionboxListChanged event and SketchSegment.GetType, this would be a possible solution but the problem I am having with this approach is how to clear the selection box? I am sure I am missing something easy just can't figure it out.

 

Thanks!

Andy

Outcomes