


So, take special note on what is being returned by these functions. Be aware the Gemetry gets can pass very different values back from the functions. Geometry gets are used to pick geometry off the screen or related geometry off an existing objects. Additional interactive gets include: GetLine, GetDistance, GetAngle, GetPolyline, GetRectangle, GetBox, GetCursorPos. For details on all the Get functions in RhinoScriptSyntax for Python go to the RhinoScriptSyntax User interface methods. The interactive gets have more options on how the input is filtered from the mouse. Point2 = rs.GetPoint( "Pick second point", point1) #By adding the first point to this prompt, a line is interactively drawn. Point1 = rs.GetPoint( "Pick first point") For instance a Get method may prompting for a number on the command line with rs.GetReal(). The simplest Get function is to ask for a specific value on the command line. Geometry Gets - GetObject, GetCurveObject, GetSurfaceObject, GetEdgeCurves, GetMeshFaces, GetMeshVertices, GetPointOnCurve, GetPointOnMesh, GetPointOnSurface.Interactive Gets - GetPoint( s), GetPointCoordinates, GetLine, GetDistance, GetAngle, GetPolyline, GetRectangle, GetBox, GetCursorPos.Commandline Gets - GetReal, GetString, GetInteger, GetBoolean.Good examples of a Get might be get a point, a string, or a distance. Get are basic ways to prompt for specifc user feedback on the commandline and mouse input. A cross-platform dialog framework to create more custom modal and non-modal dialog box classes that can be used in scripts. Browsing, saving and opening files on the system with Python. There are some simple specific dialogs to prompt for input These are methods that work with the command line, wait for mouse input or prompt for specific input. There are three main styles of input that are contained in Rhinosciptsyntax: The RhinoscriptSyntax module contains many ways to interactively prompt for several different types of input. Many input methods will also validate the user input to make sure only the proper input is accepted. Prompting the user of a script for the input of a value, selecting a layer, picking a point or selecting a Rhino object is important to many interactive scripts. (Last updated: Wednesday, December 12, 2018)
