Hi,
I am just wondering if it is possible to create custom “Help” content for scripts same like for other Rhino command under the Help tab.
Hi,
I am just wondering if it is possible to create custom “Help” content for scripts same like for other Rhino command under the Help tab.
Are you referring to the text that comes up when using a defined function like this:
“Help on function AddBox in module rhinoscript.surface: … etc” ?
In python you can add this to your functions by writing a docstring, which is just a comment between three quotation marks right below the function definition:
def my_function(param):
“”“returns 1"”"
return 1
the docstring will show up as “Help on function my_function” when you’re typing your command’s name in the python script editor. Not sure how to do in in other languages.
I am looking for the same.
I think that @onrender means the content on the help panel that shows whenever you click a button or enter a command: