CollisionEvent for unserdefined Collisiondetectors

Hy,

I have a Layout where I have definded some working collisiondetectors over UI. → Works fine :slight_smile:
image

I try to capture the “CollisionDetected”-Event for all these Collisiondetectors.

How can I find and access these userdefined Collisiondetectors (and subscribe for these events) over .Net Api?

For recommendations I would be happy. :slight_smile:

Thx & Regards
Feature

The answer is IDetectorManager.

Regards
Feature

Hy,

I try to set:
image

by:
VisualComponents.UX.Shared.MenuCommands.CollisionDetection.IDetectorManager.IsActive = true;

but nothing happen…

What I have to do that this checkbox will be active like in screenshot?

I’m using VC 4.5 Premium.

Thx & Regards
Feature

1 Like

The answer is:

IApplication.IsCollisionDetectionActivated = true;

Regards
Feature

1 Like

How about to activate/deactivate “Stop on collision” checkbox ?