Sample Scripts



Your Ad Here

Several sample scripts have been include to assist you in getting started with VBScript and RhinoScript..

 

Method

Description

AnnotateCurveEndPoints

Demonstrates how to annotate a curve's end points.

ArrayPointsOnSurface

Demonstrates how to array point objects on a surface.

CircleFromCircumference

Demonstrates how to create a circle from a center point and a circumference value.

CopyObjectsToLayer

Demonstrates how to copy selected objects to a different layer.

CreateShortcut

Demonstrates how to create a shortcut to the current document on the Windows desktop..

CurrentModelInfo

Demonstrates how to use the File System Object to retrieve information about a file.

CurveLength

Demonstrates how to determine there length of selected curve objects.

DrawParametricCurve

Demonstrates creating an interpolated curve based on a parametric equation.

DumpDocumentData

Demonstrates how to list all RhinoScript document data to the command line.

DynamicArray

VBScript dynamic array utility class.

ExportPoints

Demonstrates how to export the coordinates of point and point cloud objects to a text file.

FormatMessage

Demonstrates functions that can be useful when formatting strings of text.

ImportCurveFromExcel

Creates an interpolated curve from 3D point coordinates read from a Microsoft Excel spreadsheet.

Math.rvb

Provides several miscellaneous math functions that are not included in the VBScript programming language.

RGB Helpers

Demonstrate how to extract individual red, green, or blue color component values from an RGB-formatted color value.

Rhino.rvb

Provides constant declarations useful when using RhinoScript methods.

RingTorus

Demonstrates two different methods for generating a torus-shaped surface.

 

 

Return to Rhino Index


Your Ad Here