You could try to catch the command that is excuted. You can track it with the eventwatcher tool
Inventor SDK
The Inventor SDK is installed by default when you install Inventor. It contains additional sample programs and tools to use when programming Inventor. The SDK is installed in one of the following locations:
Win7 - C:\Users\Public\Documents\Autodesk\Inventor <version>\SDK
- WinXP -
<Inventor install folder>\SDK
When installed, the SDK folder contains three files; DeveloperTools.msi, UserTools.msi, and SDK_Readme.htm. To access the SDK information you need to install one or both of the .msi files, which can be installed by double-clicking the .msi file in Explorer.
Tools
This folder contains two programs that are useful utilities when working with Inventor's API.
The first, called EventWatcher, allows you to specify and watch certain events as they occur within Inventor. This tool is very useful when you're writing a program that will be using events within Inventor. You can use this tool to better understand the event behavior so you can know how to take advantage of it within your programs.
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1079044
If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"