Follow AcEdInputPointFilter Etiquette

Level

Suggestion

Applies to

ObjectARX and .NET applications

AutoCAD recognizes only one instance of AcEdInputPointFilter at a time. When more than one application needs to use the filter at a given time, the order in which the filters are processed is significant and can cause errors in one or both applications.

If you find that your application must register a filter when another is already active, follow these suggestions:

The sequence in which the filters are called determines which filter has precedence over the other.

Another way to resolve a conflict between two filters is to defer to one filter on the operating context. Or, you can devise your own protocol for filter classes to communicate with each other. When in doubt, contact Autodesk Developer’s Network as to the proper procedure.

You should revoke an unfamiliar input point filter only as a last resort. Each filter gets a callback when it is revoked. If this happens to a filter at an unexpected time, it can take evasive action, such as alerting the user to the fact that its operation is being changed (possibly offering the chance to restore it later) or even quitting AutoCAD.