# INDEX OF NODES

##### This index provides additional information on all the nodes used in this primer, as well as other components you might find useful. This is just an introduction to some of the 500 nodes available in Dynamo.

## Bulitin Functions

CountReturns number of items in the specified list. |
||

FlattenReturns the flattened 1D list of the multidimensional input list. |
||

MapMaps a value into an input range |

## Core

#### Core.Color

CREATE | ||

Color.ByARGBConstruct a color by alpha, red, green, and blue components. |
||

Color RangeGet a color from a color gradient between a start color and an end color. |
||

ACTIONS | ||

Color.BrightnessGets the brightness value for this color. |
||

Color.ComponentsLists the components for the color in the order: alpha, red, green, blue. |
||

Color.SaturationGets the saturation value for this color |
||

Color.HueGets the hue value for this color. |
||

QUERY | ||

Color.AlphaFind the alpha component of a color, 0 to 255. |
||

Color.BlueFind the blue component of a color, 0 to 255. |
||

Color.GreenFind the green component of a color, 0 to 255. |
||

Color.RedFind the red component of a color, 0 to 255. |

#### Core.Display

CREATE | ||

Display.ByGeometryColorDisplays geometry using a color. |

#### Core.Input

ACTIONS | ||

BooleanSelection between a true and false. |
||

Code BlockAllows for DesignScript code to be authored directly. |
||

Directory PathAllows you to select a directory on the system to get its path |
||

File PathAllows you to select a file on the system to get its filename. |
||

Integer SliderA slider that produces integer values. |
||

NumberCreates a number. |
||

Number SliderA slider that produces numeric values. |
||

StringCreates a string. |

#### Core.List

CREATE | ||

List.CreateMakes a new list out of the given inputs. |
||

List.CombineApplies a combinator to each element in two sequences |
||

Number RangeCreates a sequence of numbers in the specified range. |
||

Number SequenceCreates a sequence of numbers. |
||

ACTIONS | ||

List.ChopChop a list into a set of lists each containing the given amount of items. |
||

List.CountGets the number of items stored in the given list. |
||

List.FlattenFlattens a nested list of lists by a certain amount. |
||

List.FilterByBoolMaskFilters a sequence by looking up corresponding indices in a separate list of booleans. |
||

List.GetItemAtIndexGets an item from the given list that's located at the specified index. |
||

List.MapApplies a function over all elements of a list, generating a new list from the results |
||

List.ReverseCreates a new list containing the items of the given list but in reverse order |
||

List.ReplaceItemAtIndexReplace an item from the given list that's located at the specified index |
||

List.ShiftIndicesShifts indices in the list to the right by the given amount |
||

List.TakeEveryNthItemFetches items from the given list at indices that are multiples of the given value, after the given offset. |
||

List.TransposeSwaps rows and columns in a list of lists. If there are some rows that are shorter than others, null values are inserted as place holders in the resultant array such that it is always rectangular |

#### Core.Logic

ACTIONS | ||

IfConditional statement. Checks the boolean value of the test input. If the test input is true, the result outputs the true input, otherwise the result outputs the false input. |

#### Core.Math

ACTIONS | ||

Math.CosFines the cosine of an angle. |
||

Math.DegreesToRadiansConverts an angle in degrees to an angle in radians. |
||

Math.PowRaises a number to the specified power. |
||

Math.RadiansToDegreesConverts an angle in radians to an angle in degrees. |
||

Math.RemapRangeAdjusts the range of a list of numbers while preserving the distribution ratio. |
||

Math.SinFinds the sine of an angle. |

#### Core.Object

ACTIONS | ||

Object.IsNullDetermines if the given object is null. |

#### Core.Scripting

ACTIONS | ||

FormulaEvaluates mathematical formulas. Uses NCalc for evaluation. See http://ncalc.codeplex.com |

#### Core.String

ACTIONS | ||

String.ConcatConcatenates multiple strings into a single string. |
||

String.ContainsDetermines if the given string contains the given substring. |
||

String.JoinConcatenates multiple strings into a single string, inserting the given separator between each joined string. |
||

String.SplitDivides a single string into a list of strings, with divisions determined by the given separater strings. |
||

String.ToNumberConverts a string to an integer or a double. |

#### Core.View

ACTIONS | ||

View.WatchVisualize the output of node. |
||

View.Watch 3DShows a dynamic preview of geometry. |

## Geometry

#### Geometry.Circle

CREATE | ||

Circle.ByCenterPointRadiusCreates a Circle with input center Point and radius in the world XY plane, with world Z as normal. |
||

Circle.ByPlaneRadiusCreate a Circle centered at the input Plane origin (root), lying in the input Plane, with given radius. |

#### Geometry.CoordinateSystem

CREATE | ||

CoordinateSystem.ByOriginCreate a CoordinateSystem with origin at input Point, with X and Y Axes set as WCS X and Y axes |
||

CoordinateSystem.ByCyclindricalCoordinatesCreates a CoordinateSystem at the specified cylindrical coordinate parameters with respet to the specified coordinate system |

#### Geometry.Cuboid

CREATE | ||

Cuboid.ByLengths (origin)Create a Cuboid centered at input Point, with specified width, length, and height. |

#### Geometry.Curve

ACTIONS | ||

Curve.Extrude (distance)Extrudes a Curve in the normal Vector direction. |
||

Curve.PointAtParameterGet a Point on the Curve at a specified parameter between StartParameter() and EndParameter(). |

#### Geometry.Geometry

ACTIONS | ||

Geometry.DistanceToObtain the distance from this Geometry to another. |
||

Geometry.ExplodeSeparates compound or non-separated elements into their component parts |
||

Geometry.ImportFromSATList of imported geometries |
||

Geometry.Rotate (basePlane)Rotates an object around the Plane origin and normal by a specified degree. |
||

Geometry.TranslateTranslates any geometry type by the given distance in the given direction. |

#### Geometry.Line

CREATE | ||

Line.ByBestFitThroughPointsCreates a Line best approximating a scatter plot of Points. |
||

Line.ByStartPointDirectionLengthCreate a straight Line starting at Point, extending in Vector direction by specified length. |
||

Line.ByStartPointEndPointCreates a straight Line between two input Points. |
||

Line.ByTangencyCreate a Line tangent to the input Curve, positioned at the parameter Point of the input Curve. |
||

QUERY | ||

Line.DirectionThe direction of the Curve. |

#### Geometry.NurbsCurve

Create | ||

NurbsCurve.ByControlPointsCreate a BSplineCurve by using explicit control points. |
||

NurbsCurve.ByPointsCreate a BSplineCurve by interpolating between points |
qcomm |

#### Geometry.NurbsSurface

Create | ||

NurbsSurface.ByControlPointsCreate a NurbsSurface by using explicit control Points with specified U and V degrees. |
||

NurbsSurface.ByPointsCreates a NurbsSurface with specified interpolated points and U and V degrees. The resultant surface will pass through all of the points. |

#### Geometry.Plane

CREATE | ||

Plane.ByOriginNormalCreate a Plane centered at root Point, with input normal Vector. |
||

Plane.XYCreates a plane in the world XY |

#### Geometry.Point

CREATE | ||

Point.ByCartesianCoordinatesForm a Point in th egiven coordinate system with 3 cartesian coordinates |
||

Point.ByCoordinates (2d)Form a Point in the XY plane given two 2 Cartesian coordinates. The Z component is 0. |
||

Point.ByCoordinates (3d)Form a Point given 3 Cartesian coordinates. |
||

Point.OriginGet the Origin point (0,0,0) |
||

ACTIONS | ||

Point.AddAdd a vector to a point. The same as Translate (Vector). |
||

QUERY | ||

Point.XGet the X component of a point |
||

Point.YGet the Y component of a point |
||

Point.ZGet the Z component of a point |

#### Geometry.Polycurve

CREATE | ||

Polycurve.ByPointsMake PolyCurve from sequence of lines connecting points. For closed curve last point should be in the same location as the start point. |

#### Geometry.Rectangle

CREATE | ||

Rectangle.ByWidthLength (Plane)Create a Rectangle centered at input Plane root, with input width (Plane X axis length) and (Plane Y axis length). |

#### Geometry.Sphere

CREATE | ||

Sphere.ByCenterPointRadiusCreate a Solid Sphere centered at the input Point, with given radius. |

#### Geometry.Surface

CREATE | ||

Surface.ByLoftCreate a Surface by lofting between input cross section Curves |
||

Surface.ByPatchCreate a Surface by filling in the interior of a closed boundary defined by input Curves. |
||

ACTIONS | ||

Surface.OffsetOffset Surface in direction of Surface normal by specified distance |
||

Surface.PointAtParameterReturn the Point at a specified U and V parameters. |
||

Surface.ThickenThicken Surface into a Solid, extruding in the direction of Surface normals on both sides of the Surface. |

#### Geometry.UV

CREATE | ||

UV.ByCoordinatesCreate a UV from two doubles. |

#### Geometry.Vector

CREATE | ||

Vector.ByCoordinatesForm a Vector by 3 Euclidean coordinates |
||

Vector.XAxisGets the canonical X axis Vector (1,0,0) |
||

Vector.YAxisGets the canonical Y axis Vector (0,1,0) |
||

Vector.ZAxisGets the canonical Z axis Vector (0,0,1) |
||

ACTIONS | ||

Vector.NormalizedGet the normalized version of a vector |

## Operators

+Addition |
||

-Subtraction |
||

*Multiplication |
||

/Division |
||

%Modular Division finds the remainder of the first input after dividing by the second input |
||

<Less Than |
||

>Greater Than |
||

==Equality tests for equality between two values. |