Custom CommandMethod help file and topic

Custom CommandMethod help file and topic

wojciech_niedzwiedz9W5AL
Explorer Explorer
193 Views
2 Replies
Message 1 of 3

Custom CommandMethod help file and topic

wojciech_niedzwiedz9W5AL
Explorer
Explorer

Hello, I'm working on using html for our custom AutoCAD commands, 
https://help.autodesk.com/view/OARX/2025/ENU/?guid=GUID-F77E8FE0-8034-4704-93BD-F717608F8223
Help File Name is clear, it's just a html file and it works like a charm
but what is the Help Topic Name?
I assume it's some string that must match between my command definition and html, so AutoCAD knows which part of the html to open, is that just an anchor, like if the link is myManual.html#myTopic then help file name is everything before the # and help file topic is everything after?

0 Likes
Accepted solutions (1)
194 Views
2 Replies
Replies (2)
Message 2 of 3

Jeff_M
Consultant
Consultant

The topic is portion is used when you have a compiled help file. So the file would be "MyHelp.chm" and the topic would be MyCommand which is set when creating the chm. I use Microsoft's HTML Workshop to create the chm.

Jeff_M, also a frequent Swamper
EESignature
0 Likes
Message 3 of 3

wojciech_niedzwiedz9W5AL
Explorer
Explorer
Accepted solution

OK, I finally found what works!
help file name = "someHtmlFile.html" <- that file has to have an anchor tag, let's say <a href="#para5">Paragraph 5</a>
help topic name = "#para5"

Now pressing F1 will open the html file at para5 anchor! 🙂
So it works with html. I would add this information to the documentation.

0 Likes