Inverted GeometryFilter

Is it possible to have a GeometryFilter that excludes one type rather than having to list all types you want to keep?

the Objecttypes is a bit - Pattern - you should be able to do something like
(A)
var myTypes = ObjectType.Anyobject - ObjectType.Point;
(not tested)

(B)
if the minus does not work, you might need
var myTypes = ObjectType.AnyObject ^ ObjectType.Point;


to combine the enums.

please comment if A or B worked for you.

hope that helps or points in the right direction - best -tom

@Tom_
hi, thanks. Its (B)

var myTypes = ObjectType.AnyObject ^ ObjectType.Point;
1 Like