Dispatch for certain file type

How can I get a dispatch to only run for a certain file type?  I want a dispatch to run for drawing files only? I can't seem to find the control in the dispatch. Is this possible to do?

The only other way would be to have a variable on the datacard that says what type of file it is and run the dispatch off of that.

Any other options?

Thanks,

Laura

SolidworksSolidworks Pdm enterprise Pdm