How to display my custom web page in AutoCAD Help Dialog while pressing F1 during command

By Philippe Leefsma

There is one particular whitelist in AutoCAD concerning online help. Only the domains on the list will be accepted by help browser, and the others will be forwarded to system default browser.

This white list is hardcoded in 2013, but in the 2014, developers can now create below registry key to add their own domain into it. The default value of this key is “autodesk.com”.

HKLM\SOFTWARE\Autodesk\AutoCAD\RXX.X\ACAD-XXX:XXX\SupportedUrls = "autodesk.com, mycustomdomain.com"

 

regsample

 

Here is the VB.Net code:

<CommandMethod("MyHelp",

   "InvokeHelpWeb",

   Nothing,

   CommandFlags.Transparent,

   Nothing,

   "http://adndevblog.typepad.com/autocad/&quot;,

   "")> _

Public Shared Sub InvokeHelpWeb2()

    Dim doc As Document =

Application.DocumentManager.MdiActiveDocument

 

    ‘Press F1 while prompted to input value

    doc.Editor.GetDouble("Get Double:")

 

End Sub

<

p style=”line-height: normal;margin: 0in 0in 0pt” class=”MsoNormal”>help


Comments

3 responses to “How to display my custom web page in AutoCAD Help Dialog while pressing F1 during command”

  1. Why is not shown in my AutoCAD Map 3D 2014 (..\R19.1\ACAD-D002:409)? Can I add it?

  2. Hi Gaetano, this is working for me on Acad Mechanical 2014. Are you sure you created the correct reg key at the right place? I will ask a colleague with Map 2014 to test it…

  3. That’s pretty cool, thanks

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading