Methods_T_Rhino_RhinoApp - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoApp Methods

The RhinoApp type exposes the following members.

Methods

 

Name Description
Public methodStatic member AskUserForRhinoLicense Display UI asking the user to enter a license for Rhino or use one from the Zoo.
Public methodStatic member ClearCommandHistoryWindow Clear the text in Rhino's command history window.
Public methodStatic member ExecuteCommand
Public methodStatic member Exit Exits, or closes, Rhino.
Public methodStatic member GetDataDirectory(Boolean, Boolean) Gets the data directory.
Public methodStatic member GetDataDirectory(Boolean, Boolean, String) Gets the data directory.
Public methodStatic member GetPlugInObject(Guid) Gets the object that is returned by PlugIn.GetPlugInObject for a given plug-in. This function attempts to find and load a plug-in with a given Id. When a plug-in is found, it's GetPlugInObject function is called and the result is returned here. Note the plug-in must have already been installed in Rhino or the plug-in manager will not know where to look for a plug-in with a matching id.
Public methodStatic member GetPlugInObject(String) Gets the object that is returned by PlugIn.GetPlugInObject for a given plug-in. This function attempts to find and load a plug-in with a given name. When a plug-in is found, it's GetPlugInObject function is called and the result is returned here. Note the plug-in must have already been installed in Rhino or the plug-in manager will not know where to look for a plug-in with a matching name.
Public methodStatic member InvokeOnUiThread
Public methodStatic member IsInstallationBeta If licenseType is a beta license, returns true. A beta license grants full use of the product during the pre-release development period.
Public methodStatic member IsInstallationCommercial If licenseType is a commercial license, returns true. A commercial license grants full use of the product.
Public methodStatic member IsInstallationEvaluation If licenseType is an evaluation license, returns true. An evaluation license limits the ability of Rhino to save based on either the number of saves or a fixed period of time.
Public methodStatic member MainWindowHandle Gets the WindowHandle of the Rhino main window.
Public methodStatic member ReleaseMouseCapture Releases the mouse capture.
Public methodStatic member RunScript(String, Boolean) Runs a Rhino command script.
Public methodStatic member RunScript(String, String, Boolean) Runs a Rhino command script.
Public methodStatic member SendKeystrokes Sends a string of printable characters, including spaces, to Rhino's command line.
Public methodStatic member SetCommandPrompt(String) Set Rhino command prompt.
Public methodStatic member SetCommandPrompt(String, String) Sets the command prompt in Rhino.
Public methodStatic member SetFocusToMainWindow Sets the focus to the main window.
Public methodStatic member Wait Pauses to keep Windows message pump alive so views will update and windows will repaint.
Public methodStatic member Write(String) Print formatted text in the command window.
Public methodStatic member Write(String, Object) Print formatted text in the command window.
Public methodStatic member Write(String, Object, Object) Print formatted text in the command window.
Public methodStatic member Write(String, Object, Object, Object) Print formatted text in the command window.
Public methodStatic member WriteLine() Print a newline in the command window.
Public methodStatic memberCode example WriteLine(String) Print text in the command window.
Public methodStatic memberCode example WriteLine(String, Object) Print formatted text with a newline in the command window.
Public methodStatic member WriteLine(String, Object, Object) Print formatted text with a newline in the command window.
Public methodStatic member WriteLine(String, Object, Object, Object) Print formatted text with a newline in the command window.
  Back to Top

See Also

Reference

RhinoApp Class
Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️