Edit the help webpage in Rhino plugin seems to be possible:
I’m looking for a way to edit this function from within a python script
Thanks
Gaspard
Edit the help webpage in Rhino plugin seems to be possible:
I’m looking for a way to edit this function from within a python script
Thanks
Gaspard
I tried something like that but it is not working
import rhinoscriptsyntax as rs
import Rhino
from Rhino.Runtime import PythonScript
import webbrowser
__commandname__ = "python_edit_help"
class TestCommand(Rhino.Commands.Command):
def OnHelp(self):
webbrowser.open("http://rhino3d.com")
def RunCommand(self, doc, mode):
return Rhino.Commands.Result.Success
script = """
import rhinoscriptsyntax as rs
rs.GetString("Open Help toolbar or Press F1")
"""
ps = PythonScript.Create()
ps.ScriptContextCommand = TestCommand()
ps.ExecuteScript(script)
anyone can help ?