Pressing F1 for Help on a Custom Plugin

Pressing F1 for Help on a Custom Plugin

garylzimmer
Enthusiast Enthusiast
777 Views
1 Reply
Message 1 of 2

Pressing F1 for Help on a Custom Plugin

garylzimmer
Enthusiast
Enthusiast

Previously... 

The last thing keeping me from getting my plugin into the Autodesk store is enabling help function by pressing F1 on the custom plugin button. I've tried to read through the above thread, but it's too advanced for me. I'm stuck on calling methods from a dll. Should I use AdWindows or AdWindowsWrapper?

0 Likes
778 Views
1 Reply
Reply (1)
Message 2 of 2

garylzimmer
Enthusiast
Enthusiast

 I believe I got it! I added AdWindows.dll as a reference and put using Autodesk.Windows; at the top of my *.cs file for the ribbon button.

	public class RibbonButton : AddInPlugin
	{
		...

		public override bool TryShowHelp()
		{
			Help helpWin = new Help();
			helpWin.Show();
			return true;
		}