Please help to find command or event triggered on clicking "Tutorial Gallery" in Get Started tab. Tried by checking start command event but not getting called.
Hi @prakash.muthu. The name of the command that gets executed when you click that button is "TutorialGalleryCmd".
Wesley Crihfield
(Not an Autodesk Employee)
You may be able to use the event within the UserInputEvents object named OnActivateCommand, to monitor for that command being activated, however, there does not appear to be any documentation about its 'Context' variable, so it may be a bit difficult to work with.
Wesley Crihfield
(Not an Autodesk Employee)
Below events not getting triggered
OnActivateCommand
OnStartCommand
OnTerminateCommand
Hi @prakash.muthu. I had not tested whether or not it would be caught by monitoring those events prior to posting, but this morning after seeing your response I tested it with the OnActivateCommand event, and observed the same outcome as you. When I click on other tools like the 2D Sketch button or the Extrude button it is triggering the OnActivateCommand event, but it is not triggering that event when I click on the Tutorial Gallery button, the What's New button, the Team Web button, or the Help button on the Get Started tab. They may be a different kind of command that is not monitored by that event. I'm not sure. Since clicking the Tutorial Gallery button seems to change the 'Environment', maybe you could monitor for that environment transition, but I have not tried that myself yet either, and I do not know if there is an environment specifically named for use with the tutorial gallery. Maybe what we are seeing displayed within the model window after clicking that button is something more like a WebBrowserDialog, because you can access pretty much the same thing through the help button drop-down, then Learn More, then Tutorials, which takes you to a web site, but but I am not sure because I have never explored into it before. Just relaying some thoughts.
Wesley Crihfield
(Not an Autodesk Employee)
Hi Wesley Crihfield,
Thanks for the details. Even OnEnvironmentChange event not getting triggered.
Can't find what you're looking for? Ask the community or share your knowledge.