Access to IEdmTemplate5 during Template Card Control hook

Hello all,

I'm working on some enhancements to our templates and template cards, and have run into a hopefully simple issue. I have a template card that is used by two different templates, and was wondering if there is a way to get the menu string of the template that was run.

I'm dynamically populating some comboboxes (via EdmCmd_CardInput hook), and it would be helpful to be able to know which IEdmTemplate5 was called in order to make decisions on what to populate a certain combobox with.

Though it would solve my issue, I would like to avoid having to create two separate template cards.

Any insight would be much appreciated!

Kyle

Edit: EPDM 2012 SP2

SolidworksSolidworks Pdm enterprise Pdm