Hello,
When developing commands for Rhino as a 3rd party plug-in, is it possible to link a help page to them? Something like, when pressing F1, redirecting via browser to a custom help page. This would be very helpful.
Many thanks,
Pablo
Hello,
When developing commands for Rhino as a 3rd party plug-in, is it possible to link a help page to them? Something like, when pressing F1, redirecting via browser to a custom help page. This would be very helpful.
Many thanks,
Pablo
Hi @pagarcia,
For plug-in command written in C++, just override the CRhinoCommand::DoHelp
virtual function and do whatever you need to do to show help for that command.
– Dale
Hi @dale, I report something odd:
CRhinoCommand::DoHelp
works well within Rhino 5, properly called, but it doesn’t in Rhino 6. Looks like it’s ignored in Rhino 6.
Do you have any guess about this?
Many thanks,
Pablo
Hi @pagarcia,
Works as expected here in the SR13 RC.
https://github.com/mcneel/rhino-developer-samples/blob/6/cpp/SampleCommands/cmdSampleCircle.cpp
– Dale
Hi @dale,
I don’t manage to make it work…
I have Version 6 SR12
(6.12.19029.6381, 1/29/2019)
and the latest SDK rh612sdk_6.12.19029.06381
.
Do you have any guess about it?
Pablo
No, not really. Did you try the sample I referenced?
– Dale
Yes, here I attach my solution with your sample, just in case.
SampleCircle.zip (35.2 KB)
DoHelp()
is not triggered, this window appearing:
What’s striking here is that for Rhino 5 it works, but not for Rhino 6.
Pablo
Note that I don’t know if there has been a change for this between SR12 and SR13, but since Dale wrote that this seems to work for him running a public SR13 Release Candidate, perhaps you could try it with that version?
It works! I had no idea about these Release Candidates, many thanks
Ok, so SR13 made the trick.
Pablo