nest CadConstraint class in event filter