Skip to content

0.9.x Node Documentation

Andreas Dieckmann edited this page Sep 12, 2016 · 4 revisions

##Core ###Clipboard ####Actions Clipboard.SendTo
Copies a string to the clipboard.
Input(s): str (string)
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Clipboard.SendTo.dyf

####Query Clipboard.GetFrom
Gets the content of the clipboard. ATTENTION: Will only work with strings.
Input(s): toggle (bool - true)
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Clipboard.GetFrom.dyf

###Color ####Create Color.Aqua
Returns the colour aqua.
Output(s): 0,255,255
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Aqua.dyf

Color.Black
Returns the colour black.
Output(s): 0,0,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Black.dyf

Color.Blue
Returns the colour blue.
Output(s): 0,0,255
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Blue.dyf

Color.ByWebColor
Creates a color from a given web color (a hex triplet like #FF9900)
Input(s): hex (string)
Output(s): color
Nested Custom Node(s): String.HexToDecimal, ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.ByWebColor.dyf

Color.Fuchsia
Returns the colour fuchsia a.k.a. magenta.
Output(s): 255,0,255
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Fuchsia.dyf

Color.Green
Returns the colour green.
Output(s): 0,128,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Green.dyf

Color.Grey
Returns the colour grey.
Output(s): 128,128,128
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Grey.dyf

Color.GreyscaleByNormalizedValue
Creates a greyscale color based on a normalized value (0 = black, 1 = white)
Input(s): dbl (double)
Output(s): color
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.GreyscaleByNormalizedValue.dyf

Color.Lime
Returns the colour lime.
Output(s): 0,255,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Lime.dyf

Color.Maroon
Returns the colour maroon.
Output(s): 128,0,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Maroon.dyf

Color.Navy
Returns the colour navy.
Output(s): 0,0,128
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Navy.dyf

Color.Olive
Returns the colour olive.
Output(s): 128,128,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Olive.dyf

Color.Purple
Returns the colour purple.
Output(s): 128,0,128
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Purple.dyf

Color.Red
Returns the colour red.
Output(s): 255,0,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Red.dyf

Color.Silver
Returns the colour silver.
Output(s): 192,192,192
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Silver.dyf

Color.Teal
Returns the colour teal.
Output(s): 0,128,128
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Teal.dyf

Color.White
Returns the colour white.
Output(s): 255,255,255
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.White.dyf

Color.Yellow
Returns the colour yellow.
Output(s): 255,255,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Color.Yellow.dyf

###CustomNode ####Query CustomNode.Info
Extracts information from a custom node.
Input(s): path (string)
Output(s): Version, Name, ID, Description, Category, Inputs, InputDataTypes, InputDefaultVals, Outputs, PythonScripts, NestedBuiltinNodes, BuiltinNodesCount, NestedCustomNodes, CustomNodesCount
Nested Custom Node(s): List.ReplaceNull, List.CountOccurences
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/CustomNode.Info.dyf

###Directory ####Query Directory.ContentsAll
Unlike the built-in node Directory.Contents, this node browses a directory recursively and returns all relevant files contained in subfolders as well.
Input(s): directoryPath (string), searchString (string - "*")
Output(s): files
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Directory.ContentsAll.dyf

###File ####Actions File.WriteToCSV
Writes data to a CSV file with a custom delimiter. Data inputs needs to contain strings only!
Input(s): path (string), delimiter (string - ","), data
Output(s): void
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/File.WriteToCSV.dyf

###Formulas ####Query Angle.ByAngleSum
Computes the missing interior angle of a planar polygon based on a given list of all other interior angles.
Input(s): angles (double[])
Output(s): angle
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Angle.ByAngleSum.dyf

Angle.ByLawOfCosines
Computes an angle of a triangle using the law of cosines. A is the opposite side of the triangle while B and C are the sides forming the angle.
Input(s): sideA (double), sideB (double), sideC (double)
Output(s): alpha
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Angle.ByLawOfCosines.dyf

Angle.ByLawOfSines
Determines the angle of a triangle based on the law of sines. (Alpha is the angle opposite side A and beta is the angle opposite side B...)
Input(s): sideA (double), sideB (double), beta (double)
Output(s): alpha
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Angle.ByLawOfSines.dyf

Angle.ExteriorAngle
Computes the exterior angle of a given angle.
Input(s): angle (double)
Output(s): 360°-angle, 180°-angle
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Angle.ExteriorAngle.dyf

Cathetus.ByPythagoras
Computes the length of one of the catheti / legs of a right triangle using the Pythagorean Theorem. B is the other leg / cathetus of the triangle while C is the hypotenuse.
Input(s): sideC (double), sideB (double)
Output(s): sideA
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Cathetus.ByPythagoras.dyf

Hypotenuse.ByPythagoras
Computes the length of the hypotenuse of a right triangle using the Pythagorean Theorem. A and B are the legs / catheti of the triangle.
Input(s): sideA (double), sideB (double)
Output(s): sideC
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Hypotenuse.ByPythagoras.dyf

OppositeSide.ByLawOfCosines
Computes the length of the missing side of a triangle using the law of cosines. Gamma is the angle between sides A and B.
Input(s): sideA (double), sideB (double), gamma (double)
Output(s): sideC
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/OppositeSide.ByLawOfCosines.dyf

Side.ByLawOfSines
Determines the length of a side based on the law of sines. (Alpha is the angle opposite side A and beta is the angle opposite side B...)
Input(s): alpha (double), sideB (double), beta (double)
Output(s): sideA
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Side.ByLawOfSines.dyf

Triangle.SolveByPoints
Solves a triangle based on the XYZ coordinates of its vertices.
Input(s): PointA (Autodesk.Point), PointB (Autodesk.Point), PointC (Autodesk.Point)
Output(s): SideA, SideB, SideC, Alpha, Beta, Gamma, HeightA, HeightB, HeightC, Area, Plane, Normal, Centroid, IncircleCenter, IncircleRadius
Nested Custom Node(s): Angle.ByLawOfCosines, AngleBisector.ByPoints, Vector.IntersectionWithVector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Triangle.SolveByPoints.dyf

###Graphs ####Create PathGraph.ByPairs
Builds a path graph (Python dictionary) from a list of value pairs.
Input(s): stringPairs (string[][])
Output(s): pathGraph
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PathGraph.ByPairs.dyf

####Query PathGraph.AllPaths
Finds all possible paths between two nodes. The connections input expects a list of value pairs.
Input(s): start (string), end (string), stringPairs (string[][])
Output(s): paths
Contains Python code!
Nested Custom Node(s): PathGraph.ByPairs
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PathGraph.AllPaths.dyf

PathGraph.ShortestPath
Finds the shortest path (fewest steps) between two nodes. The connections input expects a list of value pairs.
Input(s): start (string), end (string), stringPairs (string[][])
Output(s): paths
Contains Python code!
Nested Custom Node(s): PathGraph.ByPairs
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PathGraph.ShortestPath.dyf

###List ####Actions List.CountBooleanSequences
Retrieves the lengths of uninterrupted sequences of booleans (true or false) in a given list.
Input(s): booleans (bool[])
Output(s): true, false
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.CountBooleanSequences.dyf

List.DropLastItem
Drops the last item from a given list.
Input(s): list (var[])
Output(s): list
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.DropLastItem.dyf

List.EqualSublistLengths
Trims all given lists to the length of the shortest list
Input(s): lists
Output(s): lists
Nested Custom Node(s): List.SublistLengths
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.EqualSublistLengths.dyf

List.FilterBySublistLength
Filters out all sublists that do not have the specified length
Input(s): seq, length (int)
Output(s): in, out
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.FilterBySublistLength.dyf

List.GroupListOfListsByKey
Groups a list of lists by one of its keys
Input(s): seq, keyIndex (int - 0)
Output(s): seq
Contains Python code!
Nested Custom Node(s): List.SortListOfLists
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.GroupListOfListsByKey.dyf

List.MatchWithKeyValues
Matches a list with a given set of keys and returns the values corresponding to the keys
Input(s): seq, keys, values
Output(s): seq
Contains Python code!
Nested Custom Node(s): Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.MatchWithKeyValues.dyf

List.ReplaceEmptyLists
Replaces all empty lists within a given list with a substitute
Input(s): seq, Replacement
Output(s): seq
Nested Custom Node(s): List.ReplaceItemAtIndex, List.IsNotEmpty, List.ReplaceNull
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.ReplaceEmptyLists.dyf

List.ReplaceItemAtIndex
Replaces the item at a given index (or list of indices) of a list by another item
Input(s): seq, index, replacement
Output(s): seq
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.ReplaceItemAtIndex.dyf

List.ReplaceNull
Replaces all null values within a given list with a substitute
Input(s): seq, replacement
Output(s): seq
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.ReplaceNull.dyf

List.SortListOfLists
Sorts a list of lists by one of its sublists
Input(s): seq, sortIndex (int - 0), caseInsensitive (bool - false), orderDescending (bool - false)
Output(s): seq
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.SortListOfLists.dyf

####Create List.AlphabeticalSequence
Creates a list of the first N letters of the alphabet (where 1 = A, 2 = B, ... , 27 = AA, 28 = AB etc.).
Input(s): n (int), upperCase (bool - false)
Output(s): seq
Nested Custom Node(s): Character.FromNumber
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.AlphabeticalSequence.dyf

List.FibonacciFromList
Creates a Fibonacci row from a starting list (last two values) of a given length (starting values do not count toward length).
Input(s): initialList (int[]), length (int)
Output(s): seq
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.FibonacciFromList.dyf

List.FibonacciFromValues
Creates a Fibonacci row from two starting values of a given length (starting values do not count toward length).
Input(s): A (int), B (int), length
Output(s): seq
Nested Custom Node(s): List.FibonacciFromList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.FibonacciFromValues.dyf

List.FromCSV
Converts the content of a given CSV file to a list
Input(s): delimiter (string - ","), CSVstring (string), ignoreFirstRow (bool - false), ignoreLastRow (bool - false)
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.FromCSV.dyf

List.FromString
Chops up a string into a list of characters
Input(s): str (string)
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.FromString.dyf

List.NormalizedSequence
Creates a sequence of N values between 0 and 1
Input(s): n (int)
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.NormalizedSequence.dyf

List.NormalizedSequenceByFunction
Creates a sequence of N values between 0 and 1 driven by a function
Input(s): func, n (int)
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.NormalizedSequenceByFunction.dyf

List.RandomElements
Creates a list of random elements based on a given list of elements
Input(s): baseElements, amount (int)
Output(s): seq
Nested Custom Node(s): Turn Into List, Math.RandomIntegerList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.RandomElements.dyf

List.RepeatItemsByLengths
Repeats a list of items into sublists of given lengths
Input(s): seq, lengths (int[])
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.RepeatItemsByLengths.dyf

List.WithLeadingZeroes
Adds leading zeros to a sequence of numbers
Input(s): dbl, n (int)
Output(s): str
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.WithLeadingZeroes.dyf

TurnIntoList
Turns an element (or a nested list) into a flat list
Input(s): unknownItem
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TurnIntoList.dyf

####Query List.AnyFalse
Returns true if any item in a list of booleans is false.
Input(s): seq (bool[])
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.AnyFalse.dyf

List.AnyTrue
Returns true if any item in a list of booleans is true.
Input(s): seq (bool[])
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.AnyTrue.dyf

List.CountOccurences
Counts the number of occurences of each unique element in a given list
Input(s): seq
Output(s): uniqueElements, count
Nested Custom Node(s): TurnIntoList, List.SublistLengths
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.CountOccurences.dyf

List.IsNotEmpty
Just the inversion of the built-in Is Empty List node.
Input(s): seq
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.IsNotEmpty.dyf

List.SublistLengths
Gets the lengths of all sublists in a given list of lists.
Input(s): seq
Output(s): lengths
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.SublistLengths.dyf

List.SublistsContain
Looks for an item in each sublist of a given list and returns true/false for each sublist.
Input(s): seq, item
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/List.SublistsContain.dyf

###Logic ####Actions ReturnListOrSingleValue
If the unknown item is not a list but rather a single item, only the first item of the list (input "seq") will be returned.
Input(s): unknownItem, seq
Output(s): /> </Dynamo.Nodes.Output> <Dynamo.Nodes.Symbol guid=
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/ReturnListOrSingleValue.dyf

Switch
Emulates the Switch/Case statement that is available in multiple programming languages.
Input(s): Check, Cases, Values, Default
Output(s): Result
Nested Custom Node(s): List.MatchWithKeyValues, TurnIntoList, List.ReplaceItemAtIndex
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Switch.dyf

###Math ####Actions +1
Increments a value by 1
Input(s): dbl (double)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/+1.dyf

-1
Decrements a value by 1
Input(s): dbl (double)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/-1.dyf

Math.DecimalToBinary
Converts a number to a string of its binary value
Input(s): decimal (int)
Output(s): binary
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.DecimalToBinary.dyf

Math.DecimalToHex
Converts a number to a string of its hexadecimal value
Input(s): decimal (int)
Output(s): hex
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.DecimalToHex.dyf

Math.InvertNormalized
Inverts a value between 0 and 1 to its opposite (1-x)
Input(s): dbl (double)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.InvertNormalized.dyf

Math.Normalize
Converts a value into a normalized value according to a value range
Input(s): dbl (double), min (double), max (double)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.Normalize.dyf

Math.NormalizeRange
Normalizes a range of numbers
Input(s): seq (double[])
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.NormalizeRange.dyf

Math.RoundDownToPrecision
Rounds a number down to a specified precision
Input(s): dbl (double), precision (double - 1)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.RoundDownToPrecision.dyf

Math.RoundToPrecision
Rounds a number to a specified precision
Input(s): dbl (double), precision (double - 1)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.RoundToPrecision.dyf

Math.RoundUpToPrecision
Rounds a number up to a specified precision
Input(s): dbl (double), precision (double - 1)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.RoundUpToPrecision.dyf

Math.ScaleNormalized
Scales a normalized value according to a given minimum and maximum
Input(s): dbl (double), min (double), max (double)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.ScaleNormalized.dyf

Math.Similar
Computes the difference between two values and whether that difference is within a given tolerance factor
Input(s): valA (double), valB (double), tolerance (double)
Output(s): isSimilar, difference
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.Similar.dyf

####Create Math.AlmostZero
Returns a feasable computational tolerance to zero (1.0e-9 or a billionth of 1) for use in calculations. More background info: https://github.com/DynamoDS/Dynamo/issues/879
Output(s): 1.0e-9
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.AlmostZero.dyf

Math.RandomIntegerList
Creates a list of random integers between 0 and a given maximum value
Input(s): max (int), amount (int)
Output(s): list
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.RandomIntegerList.dyf

####Query Math.IsEvenNumber
Checks if a number is even.
Input(s): val (int)
Output(s): bool
Nested Custom Node(s): Math.IsOddNumber
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.IsEvenNumber.dyf

Math.IsMultipleOf
Checks if A is a multiple of B.
Input(s): A (double), B (double)
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.IsMultipleOf.dyf

Math.IsOddNumber
Checks if a number is odd.
Input(s): val (int)
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Math.IsOddNumber.dyf

###Object ####Query Object.Members
Gets a list of all members (properties and methods) of a selected element
Input(s): element
Output(s): members
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Object.Members.dyf

Object.MembersByName
Looks up all the members of a given element based on a given name (or part of a name) of the property or method. Search is case-insensitive.
Input(s): searchFor (string), element, ignoreCase (bool - true)
Output(s): elements
Nested Custom Node(s): Object.Members, ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Object.MembersByName.dyf

###Sequence ####Query Passthrough
Forces a sequential order of execution. The node wired into the output of the Passthrough node will be executed after the node wired into the waitFor input (e.g. important for some Revit operations). The value of the passThrough input will be passed on to the node wired into the output port of the Passthrough node.
Input(s): passThrough, waitFor
Output(s): passThrough
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Passthrough.dyf

###String ####Actions String.AlphanumericToMorse
Converts an alphanumeric string to Morse code
Input(s): str (string)
Output(s): str
Nested Custom Node(s): List.MatchWithKeyValues, List.FromString
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.AlphanumericToMorse.dyf

String.BinaryToDecimal
Converts a string of a binary number into a decimal value
Input(s): binary (string)
Output(s): decimal
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.BinaryToDecimal.dyf

String.FindRegularExpression
Returns all occurences of a regular expression within a string (or list of strings). The syntax for regular expressions is explained at http://ironpython-test.readthedocs.org/en/latest/howto/regex.html
Input(s): RegEx (string), str (string)
Output(s): seq
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.FindRegularExpression.dyf

String.HexToDecimal
Converts a string of a hexadecimal value to a number
Input(s): hex (string)
Output(s): decimal
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.HexToDecimal.dyf

String.MatchRegularExpression
Determines if a regular expression matches a string (or a list of strings) and returns a boolean value (or a list, depending on the input). The syntax for regular expressions is explained at http://ironpython-test.readthedocs.org/en/latest/howto/regex.html
Input(s): RegEx (string), str (string)
Output(s): bool
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.MatchRegularExpression.dyf

String.MorseToAlphanumeric
Converts a string in Morse code to alphanumeric
Input(s): str (string)
Output(s): str
Nested Custom Node(s): List.MatchWithKeyValues, List.SublistLengths
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.MorseToAlphanumeric.dyf

String.ReplaceRegularExpression
Replaces all occurences of a regular expression within a given string (or list of strings) with another string. The syntax for regular expressions is explained at http://ironpython-test.readthedocs.org/en/latest/howto/regex.html
Input(s): RegEx (string), str (string), Replacement (string)
Output(s): str
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.ReplaceRegularExpression.dyf

String.SplitByRegularExpression
Splits a given string by a regular expression. The syntax for regular expressions is explained at http://ironpython-test.readthedocs.org/en/latest/howto/regex.html
Input(s): RegEx (string), str (string)
Output(s): seq
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/String.SplitByRegularExpression.dyf

VersionNumber.ToInteger
Converts a version number (e.g. a Dynamo version number) to an integer.
Input(s): str (string)
Output(s): int
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/VersionNumber.ToInteger.dyf

####Create Character.FromNumber
Converts a number into a character (where 1 = A, 2 = B, ... , 27 = AA, 28 = AB etc.).
Input(s): n (int), upperCase (bool - false)
Output(s): str
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Character.FromNumber.dyf

####Query Character.ToNumber
Converts an Excel-style character to a number (e.g. A = 1, AA = 27 etc.).
Input(s): str (string)
Output(s): int
Nested Custom Node(s): ReturnListOrSingleValue, List.FromString, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Character.ToNumber.dyf

###Time ####Query Time.EvaluateLapTimes
Evaluates a list of lap times and returns the overall time
Input(s): LapTimes (double[])
Output(s): NetLapTimes, OverallTime
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Time.EvaluateLapTimes.dyf

Time.LapTime
Records a timestamp and adds it to a given list of lap times. Also passes through an arbitrary variable for integration into a graph.
Input(s): LapTimes (double[] - List.Empty), Passthrough
Output(s): LapTimes, Passthrough
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Time.LapTime.dyf

##Geometry ###BoundingBox ####Query BoundingBox.PerimeterCurvesByNormal
Returns the perimeter curve of a bounding box on a plane determined by a given normal and the centroid of the bounding box
Input(s): boundingbox (BoundingBox), normal (Vector)
Output(s): curves
Nested Custom Node(s): Point.Average, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/BoundingBox.PerimeterCurvesByNormal.dyf

BoundingBox.PerimeterCurvesOnPlane
Returns the perimeter curve of a bounding box on a given plane (assuming that the bounding box and plane intersect)
Input(s): boundingbox (BoundingBox), plane (Plane)
Output(s): curves
Nested Custom Node(s): ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/BoundingBox.PerimeterCurvesOnPlane.dyf

###Buckyball ####Create Buckyball.ByOriginAndRadius
Returns all the data necessary for modeling a truncated icosahedron (vertices and struts) as well as the surface area and volume.
Input(s): origin (Autodesk.Point), radius (double - 1)
Output(s): Vertices, StrutsUpVectors, StrutGeometry, StrutPoints, HexagonPoints, PentagonPoints, SurfaceGeometry, SurfaceArea, Volume
Contains Python code!
Nested Custom Node(s): Point.Average, List.FilterBySublistLength, Math.AlmostZero
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Buckyball.ByOriginAndRadius.dyf

###Curve ####Create Curve.ClosedLoopThroughPoints
Creates a closed loop of curves based on a given list of points
Input(s): points (Autodesk.Point[])
Output(s): Curves
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Curve.ClosedLoopThroughPoints.dyf

###Geometry ####Query Geometry.ClosestTo
Finds the closest entity in a list of geometric entities from another given entity
Input(s): geometry (Autodesk.Geometry[]), other (Autodesk.Geometry)
Output(s): ClosestObject, ClosestPoint
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Geometry.ClosestTo.dyf

Geometry.FurthestFrom
Finds the furthest entity in a list of geometric entities from another given entity
Input(s): geometry (Autodesk.Geometry[]), other (Autodesk.Geometry)
Output(s): FurthestObject
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Geometry.FurthestFrom.dyf

###Mesh ####Actions Mesh.IntersectionWithPlane
Calculates the intersection of a mesh and a plane
Input(s): plane (Plane), mesh (DesignScript.Mesh)
Output(s): points, polyCurve, nurbsCurveByPoints, nurbsCurveByControlPoints
Nested Custom Node(s): ThirdXYZAxis.ByTwoVectors, Math.AlmostZero, Curve.ClosedLoopThroughPoints, Mesh.FaceVertices
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Mesh.IntersectionWithPlane.dyf

####Query Mesh.FaceVertices
Gets the vertices of each face of a given mesh
Input(s): mesh (DesignScript.Mesh)
Output(s): vertices
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Mesh.FaceVertices.dyf

###Plane ####Create Plane.ByBestFitFromFace
Creates a plane from face
Input(s): surface (Surface)
Output(s): plane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Plane.ByBestFitFromFace.dyf

Plane.ByFirst3Points
Returns a plane, its origin and its normal based on the first three XYZs in a given list
Input(s): points (Autodesk.Point[])
Output(s): plane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Plane.ByFirst3Points.dyf

###Point ####Actions Point.CentralProjectionOnFace
Projects a list of points onto a given face
Input(s): centralProjectionPoint (Autodesk.Point), projectionPoints (Autodesk.Point[]), surface (Surface)
Output(s): projectedPoints
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.CentralProjectionOnFace.dyf

Point.CentralProjectionOnPlane
Projects a list of points onto a given plane
Input(s): centralProjectionPoint (Autodesk.Point), projectionPoints (Autodesk.Point[]), plane (Plane)
Output(s): projectedPoints
Nested Custom Node(s): Vector.IntersectionWithPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.CentralProjectionOnPlane.dyf

Point.RoundDownToPrecision
Rounds a point coordinate down to a specified precision
Input(s): point, precision
Output(s): point
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.RoundDownToPrecision.dyf

Point.RoundToPrecision
Rounds a point coordinate to a specified precision
Input(s): point, precision
Output(s): point
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.RoundToPrecision.dyf

Point.RoundUpToPrecision
Rounds a point coordinate up to a specified precision
Input(s): pointp, precision
Output(s): point
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.RoundUpToPrecision.dyf

####Query Point.Average
Determines the average of a list of points
Input(s): points (Autodesk.Point[])
Output(s): Point
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.Average.dyf

Point.IsOutOfPlane
Checks a list for XYZs that are not located on a given plane
Input(s): face/plane, point (Autodesk.Point)
Output(s): bool, amount
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Point.IsOutOfPlane.dyf

###PointSequence ####Query PointSequence.AccumulatedDistance
Retrieves the accumulated distances of a sequence of points
Input(s): seq (Autodesk.Point[])
Output(s): distance
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PointSequence.AccumulatedDistance.dyf

PointSequence.ContainsOutOfPlanePoints
Checks a list for XYZs that are not located on a given plane
Input(s): face/plane, seq
Output(s): bool, max
Nested Custom Node(s): List.AnyTrue, Point.IsOutOfPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PointSequence.ContainsOutOfPlanePoints.dyf

PointSequence.GreatestDistanceToPoint
Retrieves the furthest point in a sequence of points
Input(s): seq, point (Autodesk.Point)
Output(s): distance, bool
Nested Custom Node(s): Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PointSequence.GreatestDistanceToPoint.dyf

PointSequences.ShortestPath
Retrieves the shortest path from a number of point sequences
Input(s): seq
Output(s): distance, bool
Nested Custom Node(s): PointSequence.AccumulatedDistance
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PointSequences.ShortestPath.dyf

###Surface ####Actions Surface.FilterByOrientation
Sorts surfaces in three lists based on their orientation (vertical, horizontal up & horizontal down) and also returns three corresponding lists of booleans.
Input(s): surfaces (Surface[])
Output(s): vertical, isVertical, horizontalUp, isHorizontalUp, horizontalDown, isHorizontalDown
Nested Custom Node(s): Math.AlmostZero, Vector.ZAxisNegative
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Surface.FilterByOrientation.dyf

####Query Surface.IsPlanar
Checks whether a face is planar
Input(s): surface (Surface)
Output(s): bool
Nested Custom Node(s): ReturnListOrSingleValue, Paneling.GridFromFace, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Surface.IsPlanar.dyf

###UV ####Actions UV.ConvexHull2D
Computes the convex hull of a given set of UV coordinates based on the monotone chain algorithm
Input(s): UVs (UV[])
Output(s): UVs
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.ConvexHull2D.dyf

UV.PruneDuplicates
Prune UVs to exclude duplicates within a given tolerance
Input(s): UVs (UV[]), Tolerance (double)
Output(s): UVs
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.PruneDuplicates.dyf

UV.RoundDownToPrecision
Rounds a UV coordinate down to a specified precision
Input(s): uv (UV), Precision (double)
Output(s): UV(s)
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.RoundDownToPrecision.dyf

UV.RoundToPrecision
Rounds a UV coordinate to a specified precision
Input(s): uv (UV), Precision (double)
Output(s): uv
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.RoundToPrecision.dyf

UV.RoundUpToPrecision
Rounds a UV coordinate up to a specified precision
Input(s): uv (UV), Precision (double)
Output(s): uv
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.RoundUpToPrecision.dyf

UV.Swap
Swaps U and V coordinates
Input(s): uv (UV)
Output(s): uv
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.Swap.dyf

####Create UV.ByXY
Creates UVs from the XY components of point coordinates
Input(s): point (Autodesk.Point)
Output(s): uv
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.ByXY.dyf

####Query UV.Average
Determines the average of a list of UVs
Input(s): UVs (UV[])
Output(s): UV
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.Average.dyf

UV.IsInsidePolygon
Determines if a point is inside the space enclosed by a polygon
Input(s): uv (UV), PolygonUVs (UV[])
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UV.IsInsidePolygon.dyf

###Vector ####Actions Normal.CorrectOrientation
Inverts normal A if its inversion is closer to normal B
Input(s): VectorA (Vector), VectorB (Vector)
Output(s): Vector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Normal.CorrectOrientation.dyf

Vector.IntersectionWithPlane
Finds the intersection point between a plane and a vector
Input(s): vectorBasePoint (Autodesk.Point), vector (Vector), plane (Plane)
Output(s): IntersectionPoint
Nested Custom Node(s): Vector.IsParallelToPlane, Vector.IsInPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.IntersectionWithPlane.dyf

Vector.IntersectionWithVector
Determines if two vectors intersect and returns the closest points of intersection on both vectors.
Input(s): basePoint1 (Autodesk.Point), vector1 (Vector), basePoint2 (Autodesk.Point), vector2 (Vector)
Output(s): VectorsIntersect, ClosestPointOnVector1, ClosestPointOnVector2, AveragePoint
Nested Custom Node(s): Point.Average
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.IntersectionWithVector.dyf

Vector.PruneDuplicates
Prune vectors to exclude duplicates within a given tolerance
Input(s): vectors (Vector[]), Tolerance (double)
Output(s): Vectors
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.PruneDuplicates.dyf

####Create AngleBisector.ByPoints
Retrieves the vector of an angle bisector at point B based on three points (A, B, C) that define the angle.
Input(s): PointA (Autodesk.Point), PointB (Autodesk.Point), PointC (Autodesk.Point)
Output(s): Vector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/AngleBisector.ByPoints.dyf

ThirdXYZAxis.ByTwoVectors
Given two main XYZ axes (or vectors pointing more or less in thei general direction), this node will find the third axis.
Input(s): Axis1 (Vector), Axis2 (Vector)
Output(s): vector, str
Nested Custom Node(s): Normal.CorrectOrientation, XYZAxis.FromVector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/ThirdXYZAxis.ByTwoVectors.dyf

Vector.XAxisNegative
Returns an XYZ of -1,0,0
Output(s): -1,0,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.XAxisNegative.dyf

Vector.YAxisNegative
Returns an XYZ of 0,-1,0
Output(s): 0,-1,0
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.YAxisNegative.dyf

Vector.ZAxisNegative
Returns an XYZ of 0,0,-1
Output(s): 0,0,-1
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.ZAxisNegative.dyf

XYZAxis.FromVector
Returns whichever main axis (X, Y or Z) is closest to a given vector
Input(s): vector (Vector)
Output(s): XYZ Axis
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/XYZAxis.FromVector.dyf

####Query Vector.AltitudeAndAzimuth
Computes the altitude and azimuth of a given vector
Input(s): vector (Vector)
Output(s): altitude, azimuth
Nested Custom Node(s): Triangle.SolveByPoints, Vector.ZAxisNegative
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.AltitudeAndAzimuth.dyf

Vector.Average
Determines the average vector of a list of vectors
Input(s): vectors (Vector[])
Output(s): Vector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.Average.dyf

Vector.IsInPlane
Checks if a given vector is located on a given plane
Input(s): vectorBasePoint (Autodesk.Point), vector (Vector), plane (Plane)
Output(s): bool
Nested Custom Node(s): Vector.IsParallelToPlane, Point.IsOutOfPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.IsInPlane.dyf

Vector.IsOrthogonalToVector
Checks if two vectors are orthogonal to each other
Input(s): Vector1 (Vector), Vector2 (Vector)
Output(s): bool
Nested Custom Node(s): Math.AlmostZero
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.IsOrthogonalToVector.dyf

Vector.IsParallelToPlane
Checks if a given vector is parallel to a given plane
Input(s): vector (Vector), plane (Plane)
Output(s): bool
Nested Custom Node(s): Vector.IsOrthogonalToVector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Vector.IsParallelToPlane.dyf

##Paneling ###DataPreparation Paneling.GridFromFace
Returns UV coordinates, XYZ coordinates and normals for a face with UV subdivision
Input(s): surface (Surface), U (int), V (int)
Output(s): Points, Normals, UVs
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.GridFromFace.dyf

Paneling.InvertAndMirrorNormalizedValues
Inverts and mirrors (horizontally & vertically) a nested list of normalized values.
Input(s): seq (double[]..[]), Invert (bool - false), MirrorVertically (bool - false), MirrorHorizontally (bool - false)
Output(s): seq
Nested Custom Node(s): Math.InvertNormalized
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.InvertAndMirrorNormalizedValues.dyf

###Helpers Paneling.BuildTriangularSublists
Creates sublists of three items each from a list based on given indices, shift and reverse settings and offset.
Input(s): seq, offset (int), shift (int - 0), reverse (bool - false), index0 (int), index1 (int), index2 (int)
Output(s): seq
Nested Custom Node(s): Paneling.ShiftPlacementAndReverse
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.BuildTriangularSublists.dyf

Paneling.DropLastRowAndColumn
Drops the last row and column from a UV field
Input(s): seq, V (int)
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.DropLastRowAndColumn.dyf

Paneling.MakeTriangles
Reduces each sublist to a list of three items specified by the indices in the pattern.
Input(s): seq, pat
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.MakeTriangles.dyf

Paneling.ShiftPlacementAndReverse
Shifts (integer) and reverses (bool) a given list
Input(s): seq, ,
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.ShiftPlacementAndReverse.dyf

Paneling.TriangularSubpattern
Subcomponent of the Triangular Pattern From Grid node.
Input(s): seq, V (int), reversePattern (bool - false), shiftPattern (int - 0), point1 (int), point2 (int), point3 (int)
Output(s): seq
Nested Custom Node(s): Paneling.DropLastRowAndColumn, Paneling.BuildTriangularSublists
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.TriangularSubpattern.dyf

###Patterns Paneling.Hexagonal
Creates groups of points from a list of UVs or XYZs for the placement of hexagonal panels. The placement pattern can be reversed (boolean) and shifted (integer).
Input(s): seq, V (int), reverseOddRows (bool - false), shiftPlacementOddRows (int - 0), reverseEvenRows (bool - false), shiftPlacementEvenRows (int - 0), rotateGridBy90Degrees (bool - false)
Output(s): oddRows, evenRows
Nested Custom Node(s): Math.IsEvenNumber, Math.IsMultipleOf, Paneling.ShiftPlacementAndReverse, List.FilterBySublistLength
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.Hexagonal.dyf

Paneling.Quadrilateral
Creates groups of points from a list of UVs or XYZs for the placement of quadrilateral panels. The placement pattern can be reversed (boolean) and shifted (integer).
Input(s): seq, V (int), reverse (bool - false), shiftPlacement (int - 0)
Output(s): seq
Nested Custom Node(s): +1, Paneling.DropLastRowAndColumn, Paneling.ShiftPlacementAndReverse
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.Quadrilateral.dyf

Paneling.Quadrilateral2byX
ID=
Input(s): seq, V (int), X (int), reversePattern (bool - false), shiftPattern (int), rotateGridby90Degrees (bool - false)
Output(s): seq
Nested Custom Node(s): List.FilterBySublistLength, +1, -1, UV.Swap
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.Quadrilateral2byX.dyf

Paneling.QuadrilateralAlternatingRows
Creates groups of points from a list of UVs or XYZs for the placement of quadrilateral panels in alternating rows. The placement pattern can be reversed (boolean) and shifted (integer).
Input(s): seq, V (int), reverse (bool - false), shiftPlacement (int - 0), rotateGridBy90Degrees (bool - false)
Output(s): oddRows, evenRows
Nested Custom Node(s): Paneling.Quadrilateral, UV.Swap
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.QuadrilateralAlternatingRows.dyf

Paneling.QuadrilateralCheckerboard
Creates groups of points from a list of UVs or XYZs for the placement of quadrilateral panels in a checkerboard pattern. The placement pattern can be reversed (boolean) and shifted (integer).
Input(s): seq, V (int), reverse (bool - false), shiftPlacement (int)
Output(s): typeA, typeB
Nested Custom Node(s): Paneling.Quadrilateral
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.QuadrilateralCheckerboard.dyf

Paneling.TriangularFlatDiagonal
Creates groups of points from a list of UVs or XYZs for the placement of triangular panels. The placement pattern can be reversed (boolean) and shifted (integer).
Input(s): seq, V (int), reverseTypeA (bool - false), reverseTypeB (bool - false), shiftPlacementTypeA (int - 0), shiftPlacementTypeB (int - 0), shiftOverallPlacement (int - 0), rotateGridBy90Degrees (bool - false)
Output(s): typeA, typeB
Nested Custom Node(s): Paneling.TriangularSubpattern, UV.Swap, +1
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.TriangularFlatDiagonal.dyf

Paneling.TriangularFlatMirrored
Creates groups of points from a list of UVs or XYZs for the placement of triangular (diagrid) panels. The placement pattern can be reversed (boolean) and shifted (integer).
Input(s): seq, V (int), shiftRows (bool - false), reverseRowsLying (bool - false), reverseRowsStanding (bool - false), reverseLeftCornersLying (bool - false), reverseLeftCornersStanding (bool - false), reverseRightCornersLying (bool - false), reverseRightCornersStanding (bool - false), shiftPlacementRowsLying (int - 0), shiftPlacementRowsStanding (int - 0), shiftPlacementLeftCornersLying (int - 0), shiftPlacementLeftCornersStanding (int - 0), shiftPlacementRightCornersLying (int - 0), shiftPlacementRightCornersStanding (int - 0), rotateGridBy90Degrees (bool - false)
Output(s): rowsLying, rowsStanding, leftCornersLying, leftCornersStanding, rightCornersLying, rightCornersStanding
Nested Custom Node(s): Paneling.BuildTriangularSublists, Paneling.ShiftPlacementAndReverse, Math.IsEvenNumber, Math.IsOddNumber, UV.Swap, Paneling.MakeTriangles, List.FilterBySublistLength, List.SublistLengths
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Paneling.TriangularFlatMirrored.dyf

##Revit ###Application Application.Version
Retrieves the name, version and build of the current Revit application.
Output(s): Name, Version (int), Build, Language
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Application.Version.dyf

###Document ####Actions Document.AddLink
Adds a link to a model to the current document
Input(s): filePath (string)
Output(s): RevitLinkInstance, bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.AddLink.dyf

Document.LoadFamily
A very crude implementation of family loading. Will not reload an already loaded family of the same name.
Input(s): path (string)
Output(s): familyTypes
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.LoadFamily.dyf

Document.SaveAs
Saves the active Revit document under the given name.
Input(s): filePath (string)
Output(s): result
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.SaveAs.dyf

Document.SynchronizeWithCentral
Synchronizes a workshared model with the central model.
Input(s): relinquishProjectStandardWorksets (bool - false), relinquishViewWorksets (bool - false), relinquishFamilyWorksets (bool - false), relinquishUserCreatedWorksets (bool - false), relinquishBorrowedElements (bool - false), compactCentralModel (bool - false), saveLocalFileBeforeSync (bool - true), saveLocalFileAfterSync (bool - true), comment (string - "")
Output(s): /> </Dynamo.Nodes.Output> <Dynamo.Nodes.Symbol guid=
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.SynchronizeWithCentral.dyf

####Query Document.ActiveViewFromCurrentDocument
Gets the active view of the current document
Output(s): View
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.ActiveViewFromCurrentDocument.dyf

Document.BuiltInCategories
List all the available BuiltInCategories
Output(s): BuiltInCategories, ElementIDs
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.BuiltInCategories.dyf

Document.BuiltInParameters
List all the available BuiltInParameters
Output(s): BuiltInParameters, ElementIDs, ParameterNames
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.BuiltInParameters.dyf

Document.ContainsElementsOfCategory
Checks if family instances of specified categories are present in the model.
Input(s): category
Output(s): any?, all?, per category, instances
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList, List.IsNotEmpty, List.AnyTrue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.ContainsElementsOfCategory.dyf

Document.DesignOptions
Returns all design options in the model, grouped by design option set
Input(s): toggle (bool - true)
Output(s): DesignOptionSets, DesignOptions
Contains Python code!
Nested Custom Node(s): Element.ByID, List.GroupListOfListsByKey, DesignOption.DesignOptionSet
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.DesignOptions.dyf

Document.IsWorkshared
Returns true if the current project is workshared
Input(s): toggle (bool - true)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.IsWorkshared.dyf

Document.LinksAndImports
Gets all linked and imported files in the document. NOTE: Does not retrieve linked Revit files.
Input(s): toggle (bool - true)
Output(s): links, imports
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.LinksAndImports.dyf

Document.Phases
Retrieves all phases in the active document in chronological order
Input(s): toggle (bool - true)
Output(s): Phases
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.Phases.dyf

Document.ProjectInfo
Gets the project information.
Input(s): toggle (bool - true)
Output(s): OrganizationName, OrganizationDescription, BuildingName, Author, IssueDate, Status, ClientName, Address, Name, Number
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.ProjectInfo.dyf

Document.ProjectPosition
Gets the project's position data relative to the origin. Use the built-in nodes Location.Latitude & Location.Longitude to retrieve latitude and longitude.
Input(s): toggle (bool - true)
Output(s): Angle (degr.), Elevation, EastWest, NorthSouth
Contains Python code!
Nested Custom Node(s): InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.ProjectPosition.dyf

Document.StartingView
Retrieves the starting view of a Project file. Returns null if no starting view is set.
Input(s): toggle (bool - true)
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.StartingView.dyf

Document.Views
Gets all views in the document - except for 3D view templates (as long as this bug is not fixed: https://github.com/DynamoDS/Dynamo/issues/2970)
Input(s): toggle (bool - true)
Output(s): Views
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.Views.dyf

Document.Worksets
Returns all Worksets in the current document
Input(s): toggle (bool - true)
Output(s): worksets
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Document.Worksets.dyf

###Elements ####Array Array.AssociatedFamilyParameter
Returns the associated family parameter of an array label (if any). PLEASE NOTE: This node will only work in a family document!
Input(s): dimension
Output(s): familyParameter, familyParameterName
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Array.AssociatedFamilyParameter.dyf

####Assembly #####Actions Assembly.AddMembers
Adds any given elements to a given assembly.
Input(s): assembly, elements
Output(s): assembly
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Assembly.AddMembers.dyf

Assembly.Disassemble
Disassembles an assembly and returns its members
Input(s): assembly
Output(s): disassembledElements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Assembly.Disassemble.dyf

Assembly.RemoveMembers
Removes any given elements to a given assembly.
Input(s): assembly, elements
Output(s): assembly
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Assembly.RemoveMembers.dyf

#####Create Assembly.FromElements
Creates an assembly from a list of elements
Input(s): elements, assemblyName (string)
Output(s): assemblyInstance
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Assembly.FromElements.dyf

#####Query Assembly.Members
Retrieves the members of an assembly
Input(s): assembly
Output(s): memberElements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Assembly.Members.dyf

####BoundingBox #####Create BoundingBox.ByElement
Gets the bounding box of a Revit element
Input(s): element, view
Output(s): RevitBoundingBox, DynamoBoundingBox, BottomLeftRearCorner, TopRightFrontCorner
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/BoundingBox.ByElement.dyf

BoundingBox.ByElements
Retrieves a bounding box for a list of elements
Input(s): elements, view
Output(s): RevitBoundingBox, DynamoBoundingBox, BottomLeftRearCorner, TopRightFrontCorner
Nested Custom Node(s): BoundingBox.ByElement, RevitBoundingBox.FromDynamoBoundingBox
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/BoundingBox.ByElements.dyf

RevitBoundingBox.FromDynamoBoundingBox
Turns a Dynamo bounding box into a Revit bounding box.
Input(s): DynamoBoundingBox (BoundingBox)
Output(s): RevitBoundingBox
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevitBoundingBox.FromDynamoBoundingBox.dyf

####Category #####Query Category.Subcategories
Retrieves all the subcategories for a given category
Input(s): category
Output(s): subcategories
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Category.Subcategories.dyf

####Color #####Create RevitColor.FromDynamoColor
Creates a Revit color from a Dynamo color
Input(s): DynamoColor (DSCore.Color)
Output(s): RevitColor
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevitColor.FromDynamoColor.dyf

#####Query RevitColor.ToDynamoColor
Converts Revit colors into Dynamo colors
Input(s): RevitColor
Output(s): DynamoColor
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevitColor.ToDynamoColor.dyf

####CurtainPanel #####Query CurtainPanel.HostPanel
Retrieves the host panel of a given curtain panel. This is typcially needed when wanting to access wall elements used as curtain panels.
Input(s): curtainPanel
Output(s): hostPanel
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/CurtainPanel.HostPanel.dyf

####CurtainSystem #####Create CurtainSystem.ByFace
Creates a curtain system on top of a face. The face typically needs to be the face of a mass surface in Revit.
Input(s): curtainSystemType, surface (Surface)
Output(s): curtainSystem
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue, RevitFaceReference.FromDynamoSurface
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/CurtainSystem.ByFace.dyf

####DesignOption #####Query DesignOption.DesignOptionSet
Returns the design option set of a given design option
Input(s): designOption
Output(s): designOptionSet
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DesignOption.DesignOptionSet.dyf

####DetailComponent #####Create DetailComponent.ByCurve
Places a line-based detail component in a given view
Input(s): curve (Autodesk.Curve), familyType, view
Output(s): element
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue, Application.Version
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DetailComponent.ByCurve.dyf

####DetailLevel #####Create DetailLevel.Coarse
Coarse detail level for views and graphic overrides
Output(s): Coarse
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DetailLevel.Coarse.dyf

DetailLevel.Fine
Fine detail level for views and graphic overrides
Output(s): Fine
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DetailLevel.Fine.dyf

DetailLevel.Medium
Medium detail level for views and graphic overrides
Output(s): Medium
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DetailLevel.Medium.dyf

####DetailLine #####Create DetailLine.FromCurve
Creates a detail line based on a given curve
Input(s): curve (Autodesk.Curve), view
Output(s): detailLine
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DetailLine.FromCurve.dyf

####Dimension #####Actions Dimension.SetType
Changes the dimension type of a given dimension instance to the specified type
Input(s): dimensionInstance, dimensionType
Output(s): success, failed
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Dimension.SetType.dyf

#####Query Dimension.AssociatedFamilyParameter
Returns the associated family parameter of a dimension label (if any). PLEASE NOTE: This node will only work in a family document!
Input(s): dimension
Output(s): familyParameter, familyParameterName
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Dimension.AssociatedFamilyParameter.dyf

####DimensionType #####Query DimensionType.Style
Gets the style of a given Revit dimension type
Input(s): dimensionType
Output(s): dimensionStyleType
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DimensionType.Style.dyf

####DividedSurface #####Actions DividedSurface.AddIntersect
Adds an intersect to a divided surface
Input(s): dividedSurface (DividedSurface), element
Output(s): dividedSurface
Contains Python code!
Nested Custom Node(s): Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DividedSurface.AddIntersect.dyf

DividedSurface.HorizontalIntersectsByEndpoints
Creates a number of equally spaced horizontal intersects for a divided surface based on the path between between two points.
Input(s): dividedSurface (DividedSurface), startPoint (Autodesk.Point), endPoint (Autodesk.Point), subdivisions (int), intersectName (string - "HorizontalIntersect")
Output(s): dividedSurface, intersects
Nested Custom Node(s): DividedSurface.AddIntersect, Math.ScaleNormalized, List.NormalizedSequence
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DividedSurface.HorizontalIntersectsByEndpoints.dyf

DividedSurface.HorizontalIntersectsByEndpointsAndFunction
Creates a number of horizontal intersects (levels)for a divided surface based on the path between two points. The spacing of the intersects can be controlled by a function.
Input(s): dividedSurface (DividedSurface), startPoint (Autodesk.Point), endPoint (Autodesk.Point), subdivisions (int), intersectName (string - "HorizontalIntersect"), func
Output(s): dividedSurface, intersects
Nested Custom Node(s): Math.ScaleNormalized, DividedSurface.AddIntersect, List.NormalizedSequenceByFunction
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DividedSurface.HorizontalIntersectsByEndpointsAndFunction.dyf

DividedSurface.VerticalIntersectsByEndpoints
Creates a number of equally spaced vertical intersects for a divided surface based on the path between between two points. You may need to switch start point and end point.
Input(s): dividedSurface (DividedSurface), startPoint (Autodesk.Point), endPoint (Autodesk.Point), subdivisions (int)
Output(s): dividedSurface, intersects
Nested Custom Node(s): DividedSurface.AddIntersect
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DividedSurface.VerticalIntersectsByEndpoints.dyf

DividedSurface.VerticalIntersectsByEndpointsAndFunction
Creates a number of vertical intersects (reference planes) for a divided surface based on the path between between two points. The spacing can be controlled by a function. You may need to switch start point and end point.
Input(s): dividedSurface (DividedSurface), startPoint (Autodesk.Point), endPoint (Autodesk.Point), subdivisions (int), func
Output(s): dividedSurface, intersects
Nested Custom Node(s): DividedSurface.AddIntersect, List.NormalizedSequenceByFunction
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DividedSurface.VerticalIntersectsByEndpointsAndFunction.dyf

#####Query DividedSurface.EvaluateGridNodes
Returns UV and XYZ coordinates as well as surface normals for all grid nodes of a given divided surface. Also returns the underlying face.
Input(s): dividedSurface, includeOverhangingNodes (bool - false)
Output(s): UVs, points, normals, surface
Contains Python code!
Nested Custom Node(s): RevitUV.ToDynamoUV, List.SublistLengths
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DividedSurface.EvaluateGridNodes.dyf

####Door #####Query Door.Rooms
Gets the rooms that are connected by a given door
Input(s): door (FamilyInstance), phase
Output(s): fromRoom, toRoom, roomCount
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Door.Rooms.dyf

####Element #####Actions Element.CopyByVector
Copies an element or a list of elements by a given vector.
Input(s): element, vector (Vector), rehostToClosestLevel (bool - false)
Output(s): newElement
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.CopyByVector.dyf

Element.CopyToLevel
Copies an element or a list of elements to a given level. Preserves the element's transform. PLEASE NOTE: This node only works for levels that have at least one view (e.g. floor plan) associated with them.
Input(s): element, level (Level)
Output(s): newElement
Contains Python code!
Nested Custom Node(s): Level.Views, Element.Level, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.CopyToLevel.dyf

Element.CutGeometry
Adds a solid-solid cut for two model elements (if possible).
Input(s): elementToBeCut, cuttingElement
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.CutGeometry.dyf

Element.JoinGeometry
Joins two model elements (if possible). Only works inside the project environment.
Input(s): element1, element2
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.JoinGeometry.dyf

Element.OverrideTransparencyInView
Overrides the transparency of an element in a given view
Input(s): element, view, transparencyPercentage
Output(s): element
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.OverrideTransparencyInView.dyf

Element.PermanentlyIsolateInView
(Permanently) isolates elements in the given view
Input(s): view, element
Output(s): view, element
Nested Custom Node(s): View.ConvertTemporaryHideIsolateToPermanent, Element.TemporarilyIsolateInView, ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.PermanentlyIsolateInView.dyf

Element.ResetOverridesInView
Resets all overrides for an element in a given view
Input(s): element, view
Output(s): element
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ResetOverridesInView.dyf

Element.SetMaterialParameterByCategory
Sets a material parameter of a given element to <By Category>
Input(s): element, materialParameterName (string)
Output(s): changedElements, unchangedElements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.SetMaterialParameterByCategory.dyf

Element.SetName
Gets the name of a given Revit element
Input(s): element, name
Output(s): Success, Fail
Contains Python code!
Nested Custom Node(s): Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.SetName.dyf

Element.SetWorkset
Sets the workset of a given element
Input(s): workset, element
Output(s): changedElements, unchangedElements
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.SetWorkset.dyf

Element.TemporarilyIsolateInView
(Temporarily) isolates elements in the given view
Input(s): view, element
Output(s): view, element
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.TemporarilyIsolateInView.dyf

Elements.GroupByHost
Groups a list of Revit elements by their respective hosts (if they have any)
Input(s): elements
Output(s): elementsGroupedByHost, hosts, unhostedElements
Nested Custom Node(s): List.GroupListOfListsByKey, Element.Host, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Elements.GroupByHost.dyf

#####Query Element.AllInstances
Retrieves all instances of a given element
Input(s): element
Output(s): elements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.AllInstances.dyf

Element.AllInstancesAtLevel
Retrieves all instances of an element on a given level
Input(s): element, level (Level)
Output(s): elements
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.AllInstancesAtLevel.dyf

Element.AllViewDependentInstances
Retrieves all instances of a view-dependent element in a given view
Input(s): element, view
Output(s): elements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.AllViewDependentInstances.dyf

Element.Area
Returns the area property of a given element (if that element has such a property)
Input(s): element
Output(s): area
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue, InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Area.dyf

Element.AssociatedFamilyParameters
Returns the associated family parameters of an element in a family (and the respective element parameters). PLEASE NOTE: This node will only work in a family document!
Input(s): element
Output(s): elementParamaters, associatedFamilyParameters, elementParameterNames, associatedFamilyParameterNames
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.AssociatedFamilyParameters.dyf

Element.ContainsTransparentMaterials
Checks if a given element contains transparent materials.
Input(s): element, minTransparencyPercentage (double)
Output(s): bool
Nested Custom Node(s): Element.Materials, TurnIntoList, Material.Properties, ReturnListOrSingleValue, List.AnyTrue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ContainsTransparentMaterials.dyf

Element.ElevationOfHostLevel
Returns the elevation of the level a given element is associated with
Input(s): element
Output(s): double
Nested Custom Node(s): Element.Level
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ElevationOfHostLevel.dyf

Element.ExternalFileReferencePath
Returns the full path of an element's external file reference as as string
Input(s): element
Output(s): path
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ExternalFileReferencePath.dyf

Element.Group
Retrieves the group an element belongs to (if any)
Input(s): element
Output(s): group
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Group.dyf

Element.Host
Gets an element's host
Input(s): element
Output(s): host
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Host.dyf

Element.ID
Gets the ID(s) for a list of Revit elements (or a single element) - unlike the built-in Element.Id node, this node returns an actual Revit Element ID and not a number
Input(s): element
Output(s): ID, bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ID.dyf

Element.Inserts
Gets all the objects inserted into a given element.
Input(s): element, includeOpenings (bool - false), includeShadows (bool - false), includeEmbeddedWalls (bool - false), includeSharedEmbeddedInserts (bool - false)
Output(s): inserts
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Inserts.dyf

Element.IsOfCategory
Checks whether an element is of a specified category
Input(s): element, category
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.IsOfCategory.dyf

Element.IsRelatedToMass
Returns true if an object (wall, roof, floor or curtain system) has been modelled by face and the underlying mass still exists in the project.
Input(s): element
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.IsRelatedToMass.dyf

Element.Level
Gets an element's level
Input(s): element
Output(s): level
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Level.dyf

Element.Location
Returns the location of an element as an XYZ (or if it's line-based the start and end point of the line), along with some booleans to help filtering the results. Use this for some element types (e.g. walls or lines) that do not work with the built-in Get Family Instance Location node.
Input(s): element
Output(s): points, curveEndpoints, curves, isPoint, isCurve, hasLocation, angle, hasRotation
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Location.dyf

Element.Materials
Retrieves all materials froma given element
Input(s): element, returnPaintMaterials (bool - false)
Output(s): materials, materialAreas, materialVolumes, hasMaterial
Contains Python code!
Nested Custom Node(s): TurnIntoList, UnitType.DisplayUnitType, InternalUnit.ToDisplayUnit, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Materials.dyf

Element.Name (Universal)
Gets an element's name (Dynamo's built-in Name nodes don't work for all element types, e.g. worksets...)
Input(s): element
Output(s): name
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Name%20(Universal).dyf

Element.OwnerView
Gets the owner view of a given Revit element (if possible)
Input(s): element
Output(s): view
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.OwnerView.dyf

Element.Panels
Retrieves the panels nested in a curtain wall, curtain system or glazed roof.
Input(s): hostElement
Output(s): panels
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Panels.dyf

Element.ParameterExists
Checks if an element contains a parameter of a given name
Input(s): param (string), element
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ParameterExists.dyf

Element.ParameterIsReadOnly
Checks if a parameter of a given element is read-only
Input(s): element, parameter (string)
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ParameterIsReadOnly.dyf

Element.Phases
Gets the created and demolished phases of an element
Input(s): element
Output(s): Created, Demolished
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Phases.dyf

Element.Type
Gets the family type of a given element (if applicable).
Input(s): element
Output(s): type
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Type.dyf

Element.Workset
Retrieves the workset of a given element
Input(s): element
Output(s): workset
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.Workset.dyf

####Family #####Query Family.IsInPlace
Determines if a family is an in-place family
Input(s): family (Family)
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Family.IsInPlace.dyf

####FamilyInstance #####Actions FamilyInstance.AddCoping
Adds a coping (cut) to a steel beam
Input(s): familyInstance, cuttingElement
Output(s): success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.AddCoping.dyf

FamilyInstance.FlipFacingOrientation
Flips the facing orientation of a given family instance
Input(s): familyInstance
Output(s): familyInstance
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.FlipFacingOrientation.dyf

FamilyInstance.FlipFromToRoom
Flips the settings of "From Room" and "To Room" for any given door or window instance.
Input(s): familyInstance (FamilyInstance)
Output(s): familyInstance
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.FlipFromToRoom.dyf

FamilyInstance.FlipHandOrientation
Flips the hand orientation of a given family instance
Input(s): familyInstance
Output(s): familyInstance
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.FlipHandOrientation.dyf

FamilyInstance.RemoveCoping
Removes a coping (cut) from a steel beam
Input(s): familyInstance, cuttingElementToBeRemoved
Output(s):
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.RemoveCoping.dyf

FamilyInstance.SetLevel
Sets the level property of a family instance. Family instance will move accordingly.
Input(s): familyInstance (FamilyInstance), level (Level)
Output(s): familyInstance, bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, List.EqualSublistLengths, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.SetLevel.dyf

FamilyInstance.SetType
Changes the family type of a given family instance to the specified type
Input(s): familyInstance, familyType
Output(s): familyInstance
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.SetType.dyf

#####Create FamilyInstance.ByCurve
Places a line-based family instance on a given level
Input(s): curve (Autodesk.Curve), familyType, level
Output(s): familyInstance
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.ByCurve.dyf

FamilyInstance.ByPointInView
Places a family instance at a given point in a given view (e.g. a detail component).
Input(s): point (Autodesk.Point), familyType, view
Output(s): familyInstance
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.ByPointInView.dyf

#####Query FamilyInstance.CopingElements
Returns all elements used as coping cutters for a given element.
Input(s): familyInstance
Output(s): copingElements
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.CopingElements.dyf

FamilyInstance.HandOrientation
Gets the hand orientation of a hosted object (e.g. a window or a door)
Input(s): familyInstance
Output(s): vector
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.HandOrientation.dyf

FamilyInstance.SubComponents
Retrieves all subcomponents of a given family instance
Input(s): familyInstance
Output(s): subComponents
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.SubComponents.dyf

FamilyInstance.SuperComponent
Retrieves the supercomponent of a given family instance
Input(s): familyInstance
Output(s): superComponent
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyInstance.SuperComponent.dyf

####FamilyParameter #####Query FamilyParameter.Properties
Retrieves all properties of a given family parameter. PLEASE NOTE: This node will only work in a family document!
Input(s): familyParameter
Output(s): Name, GUID, Group, Type, UnitType, DisplayUnitType, StorageType, IsInstanceParameter, IsReportingParameter, IsSharedParameter, IsReadOnly, IsUserModfiable, CanBeAssignedAFormula, IsDeterminedByFormula, Formula, ParameterNamesInFormula, AssociatedElements, AssociatedParameters
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyParameter.Properties.dyf

####FamilyType #####Actions FamilyType.Duplicate
Duplicates a family type
Input(s): elementType, name
Output(s): duplicate
Contains Python code!
Nested Custom Node(s): List.EqualSublistLengths, ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyType.Duplicate.dyf

FamilyType.SetCompoundLayerMaterial
Sets the material of a specified compound layer of a given family type (only applies to family types that have a compound structure, e.g. walls, floors etc.).
Input(s): familyType, layerIndex (int), material
Output(s): familyType, success
Contains Python code!
Nested Custom Node(s): List.EqualSublistLengths, ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyType.SetCompoundLayerMaterial.dyf

FamilyType.SetCompoundLayerWidth
Sets the width of a specified compound layer of a given family type (only applies to family types that have a compound structure, e.g. walls, floors etc.).
Input(s): familyType, layerIndex (int), width (double)
Output(s): familyType, success
Contains Python code!
Nested Custom Node(s): List.EqualSublistLengths, ReturnListOrSingleValue, TurnIntoList, UnitType.DisplayUnitType, DisplayUnit.ToInternalUnit
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyType.SetCompoundLayerWidth.dyf

#####Query FamilyType.CompoundStructureHasVariableLayer
Checks if the compound structure of a given floor or roof type contains a variable layer.
Input(s): familyType
Output(s): bool
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyType.CompoundStructureHasVariableLayer.dyf

FamilyType.CompoundStructureLayers
Retrieves the compound layers of any layered family type (wall types, roof types, floor types etc.)
Input(s): elementType
Output(s): materials, functions, widths, isCore, wraps, isVariable, isStructuralDeck, layers
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue, InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyType.CompoundStructureLayers.dyf

####Floor #####Actions Floor.SlabShapeByPoints
Transform a slab shape based on a list of XYZs. PLEASE NOTE: Will reset any previous edits on the slab shape.
Input(s): points (Autodesk.Point[]), floor
Output(s): floor
Nested Custom Node(s): Roof.SlabShapeByPoints
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Floor.SlabShapeByPoints.dyf

#####Query Floor.SlabShapeHasBeenModified
Checks if the shape of a floor slab has been modified with the shape editing tools
Input(s): floor
Output(s): bool
Nested Custom Node(s): Roof.SlabShapeHasBeenModified
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Floor.SlabShapeHasBeenModified.dyf

####FootingType #####Query FootingType.BreaksAtInserts
Determines whether a list of wall footing types break at inserts in their attached walls
Input(s): footingType
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FootingType.BreaksAtInserts.dyf

####GlobalParameter #####Query GlobalParameter.GetValue
Gets the value of a global parameter (only in Revit 2016 R2 or later).
Input(s): globalParameter
Output(s): val
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/GlobalParameter.GetValue.dyf

####Group #####Actions Group.Ungroup
Ungroups a group and returns the ungrouped elements.
Input(s): group
Output(s): ungroupedElements
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Group.Ungroup.dyf

#####Create Group.FromElements
Creates a group from a list of Revit elements
Input(s): elements, groupName
Output(s): group, ungroupableElements
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Group.FromElements.dyf

#####Query Group.Members
Retrieves the members of a group
Input(s): group
Output(s): memberElements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Group.Members.dyf

####Level #####Query Level.Plane
Retrieves the plane of a given level
Input(s): level (Level)
Output(s): plane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Level.Plane.dyf

Level.Views
Returns all views associated with a given level
Input(s): level (Level), toggleToRefresh (bool - true)
Output(s): firstView, allViews
Nested Custom Node(s): Element.Level, Document.Views
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Level.Views.dyf

####MassFloor #####Query MassFloor.Mass
Gets the mass a given mass floor belongs to
Input(s): massFloor
Output(s): mass
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/MassFloor.Mass.dyf

####Material #####Actions Material.Duplicate
Duplicates a material
Input(s): material, name (string)
Output(s): duplicate
Nested Custom Node(s): ElementType.Duplicate
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Material.Duplicate.dyf

#####Query Material.Properties
Retrieves a number of properties froma given material
Input(s): material
Output(s): Class, Color, Glow, Shininess (x/128), Smoothness (%), Transparency (%)
Contains Python code!
Nested Custom Node(s): TurnIntoList, RevitColor.ToDynamoColor, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Material.Properties.dyf

####ModelCurve #####Create AreaSeparator.FromCurve
Creates area separation lines from geometry curves.
Input(s): curve (Autodesk.Curve), sketchPlane (SketchPlane), areaPlanView
Output(s): areaSeparator
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/AreaSeparator.FromCurve.dyf

RoomSeparator.FromCurve
Creates room separation lines from geometry curves.
Input(s): curve (Autodesk.Curve), sketchPlane (SketchPlane), view
Output(s): roomSeparator
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RoomSeparator.FromCurve.dyf

SpaceSeparator.FromCurve
Creates space separation lines from geometry curves.
Input(s): curve (Autodesk.Curve), sketchPlane (SketchPlane), view
Output(s): spaceSeparator
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/SpaceSeparator.FromCurve.dyf

####Part #####Query Part.SourceElement
Retrieves the element a given part was made from
Input(s): part
Output(s): sourceElement
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Part.SourceElement.dyf

####RevisionCloud #####Create RevisionCloud.FromCurves
Creates a revision cloud from a list of geometry curves.
Input(s): curves (Autodesk.Curve[]), revision, view
Output(s): revisionCloud
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevisionCloud.FromCurves.dyf

RevisionCloud.FromElements
Create a revision cloud for a list of Revit elements
Input(s): elements, revision, view
Output(s): revisionCloud
Nested Custom Node(s): BoundingBox.PerimeterCurvesByNormal, RevisionCloud.FromCurves, BoundingBox.ByElements, View.Plane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevisionCloud.FromElements.dyf

####Roof #####Actions Roof.SlabShapeByPoints
Transform a slab shape based on a list of XYZs. PLEASE NOTE: Will reset any previous edits on the slab shape.
Input(s): points (Autodesk.Point[]), roof
Output(s): roof
Contains Python code!
Nested Custom Node(s): Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Roof.SlabShapeByPoints.dyf

#####Query Roof.CreationMethod
Retrieves the creation method of a given roof
Input(s): roof
Output(s): creationMethod
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Roof.CreationMethod.dyf

Roof.Kind
Retrieves the roof kind (Basic, Glazed, Other). PLEASE NOTE: Roofs that were created by face will be identified as 'Other'
Input(s): roof
Output(s): kind
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Roof.Kind.dyf

Roof.SlabShapeHasBeenModified
Checks if the shape of a roof slab has been modified with the shape editing tools
Input(s): roof
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Roof.SlabShapeHasBeenModified.dyf

####Room #####Create Room.UnplacedByNameAndNumber
Creates an unplaced room
Input(s): name (string), number, phase
Output(s): room
Contains Python code!
Nested Custom Node(s): List.EqualSublistLengths, ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.UnplacedByNameAndNumber.dyf

#####Query Room.Boundaries
Gets a list of all boundary elements of a given room or area
Input(s): room
Output(s): elements, curves
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.Boundaries.dyf

Room.Doors
Retrieves all doors that are associated with a room (hosted in walls and roofs).
Input(s): room, phase
Output(s): doors
Contains Python code!
Nested Custom Node(s): TurnIntoList, Door.Rooms, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.Doors.dyf

Room.InsertsOfBoundaries
Retrieves the inserts of the bounding elements of a given room.
Input(s): room, includeOpenings (bool - false), includeShadows (bool - false), includeEmbeddedWalls (bool - false), includeSharedEmbeddedInserts (bool - false)
Output(s): inserts
Nested Custom Node(s): Room.Boundaries, Element.Inserts
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.InsertsOfBoundaries.dyf

Room.InsertsOfBoundariesByCategory
Retrieves the inserts of the bounding elements of a given room - filtered by a given category.
Input(s): room, category, includeOpenings (bool - false), includeShadows (bool - false), includeEmbeddedWalls (bool - false), includeSharedEmbeddedInserts (bool - false)
Output(s): inserts
Nested Custom Node(s): Room.InsertsOfBoundaries, Element.IsOfCategory
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.InsertsOfBoundariesByCategory.dyf

Room.IsPointInside
Evaluates if a ponti is located inside a given room.
Input(s): room, point (Autodesk.Point)
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.IsPointInside.dyf

Room.IsUnbounded
Checks whether a room is unbounded.
Input(s): room
Output(s): bool
Nested Custom Node(s): Room.Boundaries, ReturnListOrSingleValue, Turn Into List
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.IsUnbounded.dyf

Room.Windows
Retrieves all windows that are associated with a room (hosted in walls and roofs).
Input(s): room, phase
Output(s): windows
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue, Window.Rooms
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.Windows.dyf

RoomSequence.ToDoorSequence
Retrieves a sequence of doors connecting a given sequence of rooms (if possible)
Input(s): rooms, phase
Output(s): doors
Contains Python code!
Nested Custom Node(s): Element.ByID, Door.Rooms, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RoomSequence.ToDoorSequence.dyf

####RoomTag #####Actions RoomTag.SetType
Changes the family type of a given room tag to the specified type
Input(s): roomTag, roomTagType
Output(s): roomTag
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RoomTag.SetType.dyf

#####Query RoomTag.Room
Returns the room of a given room tag
Input(s): roomTag
Output(s): room
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RoomTag.Room.dyf

####SelectionSet #####Create SelectionSet.ByElements
Creates a selection set of the given elements. Note that if a selection set of the given name already exists in the model, its contents will be replaced. Also, if the selection set is already applied as a view filter, the view filter will have to be manually updated in the visibility / graphic overrides. DO NOT USE IN AUTOMATIC MODE!
Input(s): Name (string), elements
Output(s): selectionSet
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/SelectionSet.ByElements.dyf

#####Query SelectionSet.Elements
Retrieves all elements stored in a selection set
Input(s): selectionSet
Output(s): elements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/SelectionSet.Elements.dyf

####StructuralFoundation #####Query StructuralFoundation.Kind
Retrieves the kind of a given structural foundation (isolated, wall, slab).
Input(s): structuralFoundation
Output(s): kind
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/StructuralFoundation.Kind.dyf

####Subcategory #####Create Subcategory.ByName
Creates a new subcategory for a given element category in a family document (unless a subcategory of that name already exists - in that case it returns the existing subcategory)
Input(s): category, name (string)
Output(s): subCategory
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Subcategory.ByName.dyf

####TextAlignFlags #####Query TextAlignFlags.Bottom
Returns the "Left" text align flag.
Output(s): Bottom
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextAlignFlags.Bottom.dyf

TextAlignFlags.Center
Returns the "Left" text align flag.
Output(s): Center
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextAlignFlags.Center.dyf

TextAlignFlags.Left
Returns the "Left" text align flag.
Output(s): Left
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextAlignFlags.Left.dyf

TextAlignFlags.Middle
Returns the "Left" text align flag.
Output(s): Middle
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextAlignFlags.Middle.dyf

TextAlignFlags.Right
Returns the "Left" text align flag.
Output(s): Right
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextAlignFlags.Right.dyf

TextAlignFlags.Top
Returns the "Left" text align flag.
Output(s): Top
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextAlignFlags.Top.dyf

####TextElement #####Actions TextElement.SetText
Sets the text of a given text element (i.e. text note or model text)
Input(s): element, text (string)
Output(s): success, fail
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextElement.SetText.dyf

#####Query TextElement.Text
Gets the text stored in a text element (i.e. text note or model text)
Input(s): element
Output(s): str
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextElement.Text.dyf

####TextNote #####Create TextNote.ByStringAndPosition
Creates a text note at a given location
Input(s): text (string), view, point (Autodesk.Point), rotation (double - 0), width (double - 1;), textAlignFlag
Output(s): textNote
Contains Python code!
Nested Custom Node(s): TurnIntoList, List.EqualSublistLengths, ReturnListOrSingleValue, DisplayUnit.ToInternalUnit, UnitType.DisplayUnitType
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/TextNote.ByStringAndPosition.dyf

####Topography #####Actions Topography.IntersectionWithPlane
Calculates the intersection of a toposurface and a plane
Input(s): plane (Plane), topo (Topography)
Output(s): points, polyCurve, nurbsCurveByPoints, nurbsCurveByControlPoints
Nested Custom Node(s): Mesh.IntersectionWithPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Topography.IntersectionWithPlane.dyf

#####Query Topography.IsSubregion
Filters out everything that is not a topo subregion. Needs Revit 2014 or newer to work.
Input(s): topography (Topography)
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Topography.IsSubregion.dyf

####UV #####Query RevitUV.ToDynamoUV
Converts Revit UV coordinates to Dynamo UV coordinates
Input(s): RevitUV
Output(s): DynamoUV
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevitUV.ToDynamoUV.dyf

####UnitType #####Query UnitType.DisplayUnitType
Retrieves the display unit type for a given unit type.
Input(s): unitType
Output(s): displayUnitType, unitSymbol
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/UnitType.DisplayUnitType.dyf

####Wall #####Actions Wall.Flip
Flips the orientation of a given wall - DO NOT USE IN AUTOMATIC MODE
Input(s): wall (Wall)
Output(s): wall
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Wall.Flip.dyf

#####Create Wall.ByFace
Creates a wall on top of a face. The face typically needs to be the face of a mass surface in Revit.
Input(s): walltype (WallType), wallLocationLine, surface (Surface)
Output(s): wall
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue, RevitFaceReference.FromDynamoSurface
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Wall.ByFace.dyf

#####Query Wall.CreationMethod
Retrieves the creation method of a given wall
Input(s): wall
Output(s): creationMethod
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Wall.CreationMethod.dyf

Wall.Orientation
Gets the orientation of a given wall instance (normal of the exterior face of the wall). Will not work for walls hosted on mass faces or in-place walls.
Input(s): wall (Wall)
Output(s): Normal
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Wall.Orientation.dyf

####WallLocationLine #####Query WallLocationLine.CoreCenterline
Returns the WallLocationLine option for CoreCenterLine
Output(s): CoreCenterline, int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallLocationLine.CoreCenterline.dyf

WallLocationLine.CoreExterior
Returns the WallLocationLine option for CoreExterior
Output(s): CoreExterior, int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallLocationLine.CoreExterior.dyf

WallLocationLine.CoreInterior
Returns the WallLocationLine option for CoreInterior
Output(s): CoreInterior, int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallLocationLine.CoreInterior.dyf

WallLocationLine.FinishFaceExterior
Returns the WallLocationLine option for FinishFaceExterior
Output(s): FinishFaceExterior, int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallLocationLine.FinishFaceExterior.dyf

WallLocationLine.FinishFaceInterior
Returns the WallLocationLine option for FinishFaceInterior
Output(s): FinishFaceInterior, int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallLocationLine.FinishFaceInterior.dyf

WallLocationLine.WallCenterline
Returns the WallLocationLine option for WallCenterLine
Output(s): WallCenterline, int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallLocationLine.WallCenterline.dyf

####WallType #####Query WallType.Function
Retrieves the Function property of a given wall type
Input(s): wallType (WallType)
Output(s): function
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallType.Function.dyf

WallType.Kind
Retrieves the wall kind of a given wall type
Input(s): wallType (WallType)
Output(s): kind
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/WallType.Kind.dyf

####Window #####Query Window.Rooms
Gets the rooms that are connected by a given window
Input(s): window (FamilyInstance), phase
Output(s): fromRoom, toRoom, roomCount
Nested Custom Node(s): Door.Rooms
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Window.Rooms.dyf

####Workset #####Query Workset.Kind
Retrieves the kind of a given workset
Input(s): workset
Output(s): kind
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Workset.Kind.dyf

###FamilyDocument ####Query FamilyDocument.CurrentFamilyType
Retrieves the current family type from the active family document. PLEASE NOTE: This node will only work in a family document!
Input(s): toggle (bool - true)
Output(s): familyType
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyDocument.CurrentFamilyType.dyf

FamilyDocument.FamilyParameters
Retrieves all family parameters from the active family document. PLEASE NOTE: This node will only work in a family document!
Input(s): toggle (bool - true)
Output(s): familyParameters
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyDocument.FamilyParameters.dyf

FamilyDocument.FamilyTypes
Retrieves all family types from the active family document. PLEASE NOTE: This node will only work in a family document!
Input(s): toggle (bool - true)
Output(s): familyTypes
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/FamilyDocument.FamilyTypes.dyf

###Selection ####ByCollector All Elements of Family Type (Universal)
Unlike the built-in node, this node retrieves all placed instances of a given loadable or system family type
Input(s): familyType, toggle (bool - true)
Output(s): elements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/All%20Elements%20of%20Family%20Type%20(Universal).dyf

All Families Of Category
Gets all famiies of a given category in the model (does *not *work for system families)
Input(s): category (Category), toggle (bool - true)
Output(s): families
Nested Custom Node(s): All Family Types Of Category
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/All%20Families%20Of%20Category.dyf

All Family Types Of Category
Gets all family types/symbols of a given category in the model (does *not *work for system families)
Input(s): category (Category), toggle (bool - true)
Output(s): familyTypes
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/All%20Family%20Types%20Of%20Category.dyf

All Intersecting Elements Of Category
Finds all elements of a specified category that intersect with a list of vectors
Input(s): threeDView (Elements.View3D), category, startPoint (Autodesk.Point), endPoint (Autodesk.Point), toggle (bool - true)
Output(s): elements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/All%20Intersecting%20Elements%20Of%20Category.dyf

All Placed Family Types of Category
Retrieves all family types of a given category that have placed instances
Input(s): category (Category)
Output(s): familyTypes
Nested Custom Node(s): Element.Type
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/All%20Placed%20Family%20Types%20of%20Category.dyf

All View-Dependent Family Instances Of Category
Gets all view-dependent family instances in a given view for a given list of categories - useful for finding annotation elements
Input(s): category (Category), view, toggle (bool - true)
Output(s): elements
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/All%20View-Dependent%20Family%20Instances%20Of%20Category.dyf

####ByFace Element.FromDynamoSurface
Returns the underlying Revit element of a given face
Input(s): DynamoSurface (Surface)
Output(s): element
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.FromDynamoSurface.dyf

RevitFace.FromDynamoSurface
Returns the underlying Revit face of a given surface
Input(s): DynamoSurface (Surface)
Output(s): RevitFace
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevitFace.FromDynamoSurface.dyf

RevitFaceReference.FromDynamoSurface
Returns the underlying Revit face reference of a given surface
Input(s): DynamoSurface (Surface)
Output(s): RevitFaceReference
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/RevitFaceReference.FromDynamoSurface.dyf

####Filters Elements.FilterByName
Retrieves those elements from a collection whose names match the search string
Input(s): elements, searchString (string), ignoreCase (bool - true)
Output(s): first, in, out
Nested Custom Node(s): TurnIntoList, Element.Name (Universal)
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Elements.FilterByName.dyf

Elements.FilterByParameterValueAndCondition
ID=
Input(s): elements, param (string), func
Output(s): in, out
Nested Custom Node(s): Element.ParameterExists
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Elements.FilterByParameterValueAndCondition.dyf

####Miscellaneous BuiltInCategory.ByName
Looks up all the built-in categories based on a given name (or part of a name) of the category. Search is case-insensitive.
Input(s): searchFor (string), ignoreCase (bool - true)
Output(s): BuiltInCategories, ElementIDs
Nested Custom Node(s): Document.ListBuiltInCategories
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/BuiltInCategory.ByName.dyf

BuiltInParameter.ByName
Looks up all the built-in parameters based on a given name (or part of a name) of the parameters. Search is case-insensitive.
Input(s): searchFor (string), ignoreCase (bool - true)
Output(s): BuiltInParameters, ElementIDs, ParameterNames
Nested Custom Node(s): Document.ListBuiltInParameters
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/BuiltInParameter.ByName.dyf

Element.ByID
Gets the Revit element(s) for a list of IDs (or a single ID)
Input(s): ID/UniqueId
Output(s): element, unmatched
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Element.ByID.dyf

Room.AtPointInPhase
Tries to retrieve a room element at the given location for the given phase.
Input(s): point (Autodesk.Point), phase
Output(s): room
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Room.AtPointInPhase.dyf

###Units ####Actions DisplayUnit.ToInternalUnit
Converts a value from a given display unit to Revit's internal unit
Input(s): val, displayUnitType
Output(s): val
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/DisplayUnit.ToInternalUnit.dyf

InternalUnit.ToDisplayUnit
Converts a value from Revit's internal unit to a given display unit
Input(s): val (double), displayUnitType
Output(s): val
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/InternalUnit.ToDisplayUnit.dyf

###Views ####PerspectiveView PerspectiveView.OrientToEyeAndTargetPosition
Sets the orientation of a given perspective view based on a given eye and target position
Input(s): view (PerspectiveView), eyePosition (Autodesk.Point), targetPosition (Autodesk.Point)
Output(s): View
Contains Python code!
Nested Custom Node(s): Normal.CorrectOrientation, View3D.IsLocked
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PerspectiveView.OrientToEyeAndTargetPosition.dyf

####PlanView #####Query PlanView.Underlay
Returns the view template assigned to a given view (if one is assigned)
Input(s): planView
Output(s): underlay
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PlanView.Underlay.dyf

####Sheet #####Create PlaceholderSheet.ByNumberAndName
Creates placeholder sheets
Input(s): sheetNumber (int), sheetName (string)
Output(s): sheet
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, List.EqualSublistLengths, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/PlaceholderSheet.ByNumberAndName.dyf

#####Query Sheet.Scale
Returns the scale of a given sheet
Input(s): sheet (Sheet)
Output(s): scale
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Sheet.Scale.dyf

Sheet.Schedules
Returns all schedules placed on a specified sheet
Input(s): sheet (Sheet)
Output(s): schedules
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/Sheet.Schedules.dyf

####View #####Actions View.ConvertTemporaryHideIsolateToPermanent
Convert all temporary hidden elements or categories to permanently hidden in the given view.
Input(s): view
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.ConvertTemporaryHideIsolateToPermanent.dyf

View.DisableTemporaryHideIsolate
Disables the temporary hide/isolate for the given view (if set)
Input(s): view
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.DisableTemporaryHideIsolate.dyf

View.Duplicate
Duplicates a given view
Input(s): view
Output(s): view
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.Duplicate.dyf

View.DuplicateAsDependent
Duplicates a given view as a dependent view
Input(s): view
Output(s): view
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.DuplicateAsDependent.dyf

View.DuplicateWithDetailing
Duplicates a given view with detailing
Input(s): view
Output(s): view
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.DuplicateWithDetailing.dyf

View.ResizeCropBox
Resizes the bounding box of a given Revit element by the specified amount in X, Y and Z direction. May need to be used in conjunction with a Transaction node.
Input(s): amt (double), view
Output(s): view
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.ResizeCropBox.dyf

View.SetDesignOption
Sets the view to a given design option. PLEASE NOTE: This node is kind of hacky. It does not use the design option settings in the visibility / graphic overrides. Instead it sets the view property "Visible in Option" to one specific design option - which also means that the symbolic representation of this view is only visible in views that display the given design options.
Input(s): view, designOption
Output(s): view, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.SetDesignOption.dyf

View.SetPhase
Sets the phase of a given view
Input(s): view, phase
Output(s): view, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.SetPhase.dyf

View.SetSolarStudyActiveFrameNumber
Sets the active frame number of the solar study in a given view
Input(s): view, frameNumber (int)
Output(s): view, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.SetSolarStudyActiveFrameNumber.dyf

#####Query View.CategoryIsVisible
Checks if a given category is visible in a given view
Input(s): category, view
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.CategoryIsVisible.dyf

View.DetailLevel
Retrieves the detail level of a given view
Input(s): view
Output(s): detailLevel
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.DetailLevel.dyf

View.IsPerspective
Checks whether a given view is a perspective view.
Input(s): view
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.IsPerspective.dyf

View.IsViewTemplate
Checks if a given view is a view template
Input(s): view
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.IsViewTemplate.dyf

View.Phase
Returns the phase of a given view
Input(s): view
Output(s): phase
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.Phase.dyf

View.Plane
Retrieves the plane of a given view
Input(s): view
Output(s): plane
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.Plane.dyf

View.Scale
Returns the scale of a given view
Input(s): view
Output(s): Scale 1:X
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.Scale.dyf

View.SolarStudyTotalFrames
Retrieves the number of frames of a solar study for a given view (if the view's sun and shadow settings are indeed set to single or multi day study)
Input(s): view
Output(s): dbl
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.SolarStudyTotalFrames.dyf

View.Type
Returns the type of a given view
Input(s): view
Output(s): type
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.Type.dyf

View.UsesViewFilters
Checks if a given view has any view filters applied to it.
Input(s): view
Output(s): bool
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.UsesViewFilters.dyf

View.ViewTemplate
Returns the view template assigned to a given view (if one is assigned)
Input(s): view
Output(s): ViewTemplate
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View.ViewTemplate.dyf

####View3D #####Query View3D.IsLocked
Checks if a given view is locked
Input(s): view3d (Elements.View3D)
Output(s): bool
Contains Python code!
Nested Custom Node(s): Turn Into List, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/0.9.x/View3D.IsLocked.dyf