-
Notifications
You must be signed in to change notification settings - Fork 96
1.x Node Documentation
- Core
- Geometry
- Paneling
-
Revit
- Application
- Document
-
Elements
- AngularDimension
- Array
- Assembly
- BoundingBox
- Category
- Color
- CurtainPanel
- DesignOption
- DetailComponent
- DetailCurve
- Dimension
- DirectShape
- DividedSurface
- Door
- Element
- ElevationMarker
- Enum
- Family
- FamilyInstance
- FamilyParameter
- FamilyType
- FillPatternElement
- FilledRegionType
- Floor
- FootingType
- Grid
- Group
- GroupType
- ImportInstance
- Level
- MassFloor
- Material
- ModelCurve
- ParameterElement
- Part
- RevisionCloud
- RevitLinkType
- Roof
- Room
- RoomTag
- SelectionSet
- SpotCoordinate
- SpotElevation
- StructuralFoundation
- Subcategory
- TextElement
- Topography
- UV
- UnitType
- Wall
- WallType
- Window
- Workset
- FamilyDocument
- Selection
- SharedParameterFile
- Units
- Views
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Application.dyn
Dynamo.Version
Retrieves the version of the active Dynamo application
Output(s): versionShort, versionLong, platform
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Dynamo.Version.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Clipboard.dyn
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/1.x/Clipboard.SendTo.dyf
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/1.x/Clipboard.GetFrom.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Color.dyn
Color.Aqua
Returns the colour aqua.
Output(s): 0,255,255
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.x/Color.Blue.dyf
Color.ByName
Returns the color that corresponds to the given name (look here for a list of defined colors: https://docs.microsoft.com/en-us/dotnet/api/system.drawing.knowncolor?view=netframework-4.7.2).
Input(s): str
Output(s): color
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Color.ByName.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, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.x/Color.Yellow.dyf
Color.Name
Retrieves the name of a color (if it has a name).
Input(s): color (Color[]..[])
Output(s): name
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Color.Name.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.CustomNode.dyn
CustomNode.Info
Extracts information from a custom node.
Input(s): path (string)
Output(s): Version, Name, ID, Description, Category, Inputs, InputDataTypes, InputDefaultVals, Outputs, PythonScripts, NestedCustomNodes, CustomNodesCount, NestedBuiltinNodes, BuiltinNodesCount, InputDescriptions, OutputDescriptions, IsVisibleInLibrary
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/CustomNode.Info.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.DateTime.dyn
DateTime.IsEarlier
Determines if a given date and time are earlier than another given date and time.
Input(s): dateTime1 (System.DateTime), dateTime2 (System.DateTime)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DateTime.IsEarlier.dyf
DateTime.IsLater
Determines if a given date and time are later than another given date and time.
Input(s): dateTime1 (System.DateTime), dateTime2 (System.DateTime)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DateTime.IsLater.dyf
Date.CalendarWeek
Retrieves the calendar week for the given date
Input(s): date
Output(s): calendarWeek
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Date.CalendarWeek.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Directory.dyn
Directory.Contents+
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/1.x/Directory.Contents+.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.File.dyn
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/1.x/File.WriteToCSV.dyf
File.Created
Returns the date and time a given file was created
Input(s): file (System.IO.FileInfo[]..[])
Output(s): dateTime
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/File.Created.dyf
File.LastAccessed
Returns the date and time a given file was last accessed
Input(s): file (System.IO.FileInfo[]..[])
Output(s): dateTime
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/File.LastAccessed.dyf
File.LastModified
Returns the date and time a given file was last modified
Input(s): file (System.IO.FileInfo[]..[])
Output(s): dateTime
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/File.LastModified.dyf
File.Size
Returns the file size of a given file.
Input(s): file (System.IO.FileInfo)
Output(s): bytes, kilobytes, megabytes
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/File.Size.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Formulas.dyn
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
Nested Custom Node(s): ScopeIf+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.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/1.x/Triangle.SolveByPoints.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Graphs.dyn
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/1.x/PathGraph.ByPairs.dyf
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/1.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/1.x/PathGraph.ShortestPath.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.List.Actions.dyn
List.Chop+
Turns a list into a list of lists with sublists of varying lengths. Unlike the OOTB node, it can generate empty sublists as well.
Input(s): seq (var[]), lengths (int[]..[])
Output(s): seq
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/List.Chop+.dyf
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/1.x/List.CountBooleanSequences.dyf
List.DropLastItem
Drops the last item from a given list.
Input(s): list
Output(s): list
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/List.DropLastItem.dyf
List.EqualSublistLengths
Trims all given lists to the length of the shortest list
Input(s): lists
Output(s): lists
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.x/List.GroupListOfListsByKey.dyf
List.JoinByKey
Joins two lists by common keys.
Input(s): keys1, seq1, keys2, seq2, excludeUnmatchedKeys (bool - false)
Output(s): keys, seq1, seq2
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/List.JoinByKey.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): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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.ReplaceNull, List.IsNotEmpty
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/List.ReplaceEmptyLists.dyf
List.ReplaceItemAtIndex+
Replaces the item at a given index of a list by another item. Unlike the OOTB node, it can replace items at multiple indeces.
Input(s): seq (var[]..[]), indices (int[]..[]), replacement (var[]..[])
Output(s): seq
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.x/List.SortListOfLists.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.List.Create.dyn
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/1.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/1.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/1.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
Nested Custom Node(s): ScopeIf+, List.DropLastItem
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.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/1.x/List.NormalizedSequenceByFunction.dyf
List.RandomElements
Creates a list of random elements based on a given list of elements
Input(s): baseElements (var[]), amount (int), seed (int - 0)
Output(s): seq
Nested Custom Node(s): -1, Math.RandomIntegerList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/List.RandomElements.dyf
List.WithLeadingZeroes
Adds leading zeros to a sequence of numbers
Input(s): num (int), n (int)
Output(s): str
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/TurnIntoList.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.List.Query.dyn
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/1.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/1.x/List.AnyTrue.dyf
List.CountOccurences
Counts the number of occurences of each unique element in a given list
Input(s): seq (var[])
Output(s): uniqueElements, count
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/List.IsNotEmpty.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Logic.dyn
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):
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ReturnListOrSingleValue.dyf
ScopeIf+
A (hopefully) more robust implementation of ScopeIf. Tests a single boolean and returns a value accordingly.
Input(s): test, true, false
Output(s): result
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ScopeIf+.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): TurnIntoList, List.MatchWithKeyValues, List.ReplaceNull
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Switch.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Math.Actions.dyn
+1
Increments a value by 1
Input(s): dbl (double)
Output(s): dbl
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/-1.dyf
Math.Ceiling+
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/1.x/Math.Ceiling+.dyf
Math.DecimalToBinary
Converts a number to a string of its binary value
Input(s): decimal (int)
Output(s): binary
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Math.DecimalToHex.dyf
Math.Floor+
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/1.x/Math.Floor+.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/1.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/1.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/1.x/Math.NormalizeRange.dyf
Math.Round+
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/1.x/Math.Round+.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/1.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/1.x/Math.Similar.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Math.Create.dyn
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/1.x/Math.AlmostZero.dyf
Math.RandomIntegerList
Creates a list of random integers between 0 and a given maximum value
Input(s): min (int - 0), max (int), amount (int), seed (int - 0)
Output(s): list
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Math.RandomIntegerList.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Math.Query.dyn
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/1.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/1.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/1.x/Math.IsOddNumber.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Object.dyn
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/1.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): TurnIntoList, Object.Members, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Object.MembersByName.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Sequence.dyn
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/1.x/Passthrough.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.String.dyn
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/1.x/String.AlphanumericToMorse.dyf
String.BinaryToBooleans
Converts a binary string to a list of booleans
Input(s): str (string)
Output(s): bool
Nested Custom Node(s): List.FromString
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.BinaryToBooleans.dyf
String.BinaryToDecimal
Converts a string of a binary number into a decimal value
Input(s): binary (string)
Output(s): decimal
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.BinaryToDecimal.dyf
String.CompileRegularExpression
This is a helper node for setting certain flags for the Regular Expresssion nodes.
http://ironpython-test.readthedocs.org/en/latest/howto/regex.html
Input(s): regExp (string), ignoreCase (bool - false), useLocale (bool - false), dotAll (bool - false), multilineMatching (bool - false)
Output(s): compRegExp
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.CompileRegularExpression.dyf
String.ContainsRegularExpression
Determines if a regular expression matches a string (or a list of strings), i.e. occurs anywhere in the string, 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), ignoreCase (bool - false), useLocale (bool - false), dotAll (bool - false), multilineMatching (bool - false)
Output(s): bool
Contains Python code!
Nested Custom Node(s): String.CompileRegularExpression
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.ContainsRegularExpression.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), ignoreCase (bool - false), useLocale (bool - false), dotAll (bool - false), multilineMatching (bool - false)
Output(s): seq
Contains Python code!
Nested Custom Node(s): String.CompileRegularExpression
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.HexToDecimal.dyf
String.MorseToAlphanumeric
Converts a string in Morse code to alphanumeric
Input(s): str (string)
Output(s): str
Nested Custom Node(s): List.MatchWithKeyValues
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.MorseToAlphanumeric.dyf
String.Replace+
Replaces multiple items in a given string. Items in the string have to be denoted as {0], {1}, ..., {n} - corresponding to the respective list index of the replacement string.
Input(s): str, replacements
Output(s): str
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.Replace+.dyf
String.ReplaceIllegalFilenameCharacters
Replaces all characters in a string that are illegal characters for filenames
Input(s): str (string), replacement (string - "_")
Output(s): str
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.ReplaceIllegalFilenameCharacters.dyf
String.ReplaceIllegalRevitCharacters
Replaces all characters in a string that are illegal characters for Revit view names etc.
Input(s): str (string), replacement (string - "_")
Output(s): str
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.ReplaceIllegalRevitCharacters.dyf
String.ReplaceMultiple
Replaces multiple search terms in a given string with multiple replacements
Input(s): str (string), searchFor (string[]), replaceWith (string[]), sortSearchTermsBySize (bool - false)
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.ReplaceMultiple.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), ignoreCase (bool - false), useLocale (bool - false), dotAll (bool - false), multilineMatching (bool - false)
Output(s): str
Contains Python code!
Nested Custom Node(s): String.CompileRegularExpression
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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), ignoreCase (bool - false), useLocale (bool - false), dotAll (bool - false), multilineMatching (bool - false)
Output(s): seq
Contains Python code!
Nested Custom Node(s): String.CompileRegularExpression
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.SplitByRegularExpression.dyf
String.StartsWithRegularExpression
Determines if a string starts with the regular expression 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), ignoreCase (bool - false), useLocale (bool - false), dotAll (bool - false), multilineMatching (bool - false)
Output(s): bool
Contains Python code!
Nested Custom Node(s): String.CompileRegularExpression
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.StartsWithRegularExpression.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/1.x/VersionNumber.ToInteger.dyf
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/1.x/Character.FromNumber.dyf
String.BinaryFromBooleans
Creates a binary string from a list of booleans
Input(s): booleans
Output(s): binary
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/String.BinaryFromBooleans.dyf
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): TurnIntoList, List.FromString, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Character.ToNumber.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.System.dyn
System.CPUs
Returns information on number of processors and CPU speed (GHz).
Output(s): physicalProcessors, logicalProcesssors, cores, CPUspeed
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/System.CPUs.dyf
System.MachineName
Returns the NetBIOS name of the computer the script is executed on.
Output(s): name
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/System.MachineName.dyf
System.Memory
Returns information on total system memory, free memory and amount of memory used by the application.
Input(s): passThrough (var[]..[] - null)
Output(s): installedMemory, freeMemory, appMemory, passThrough
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/System.Memory.dyf
System.UserName
Returns the user name of the person who is currently logged on to Windows on the machine the script is executed on.
Output(s): name
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/System.UserName.dyf
System.Version
Returns the Windows version
Output(s): versionName, versionNumber, servicePack
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/System.Version.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Core.Time.dyn
Time.EvaluateLapTimes
Evaluates a list of lap times and returns the overall time
Input(s): LapTimes (System.DateTime[])
Output(s): NetLapTimes, OverallTime
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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 (System.DateTime[] - List.Empty), Passthrough, rerunToggle (bool - false)
Output(s): LapTimes, Passthrough
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Time.LapTime.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.BoundingBox.dyn
BoundingBox.FromBoundingBoxes
Merges a list of bounding boxes into a single bounding box
Input(s): boundingBoxes (BoundingBox []..[])
Output(s): BoundingBox
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/BoundingBox.FromBoundingBoxes.dyf
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, BoundingBox.PerimeterCurvesOnPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/BoundingBox.PerimeterCurvesOnPlane.dyf
BoundingBox.Properties
Retrieves the centroid, width, depth and height of a given bounding box
Input(s): boundingBox (BoundingBox)
Output(s): Centroid, Width, Depth, Height
Nested Custom Node(s): Point.Average
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/BoundingBox.Properties.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Buckyball.dyn
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 - Point.Origin();), radius (double - 1)
Output(s): Vertices, StrutsUpVectors, StrutGeometry, StrutPoints, HexagonPoints, PentagonPoints, SurfaceGeometry, SurfaceArea, Volume
Contains Python code!
Nested Custom Node(s): Math.AlmostZero, Point.Average, List.FilterBySublistLength
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Buckyball.ByOriginAndRadius.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Curve.dyn
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/1.x/Curve.ClosedLoopThroughPoints.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Geometry.dyn
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/1.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/1.x/Geometry.FurthestFrom.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Mesh.dyn
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): Mesh.FaceVertices, Curve.ClosedLoopThroughPoints, ThirdXYZAxis.ByTwoVectors, Math.AlmostZero
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Mesh.IntersectionWithPlane.dyf
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/1.x/Mesh.FaceVertices.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Plane.dyn
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/1.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/1.x/Plane.ByFirst3Points.dyf
Plane.IsCoplanarWithPlane
Checks if a given plane is coplanar with another plane
Input(s): plane1 (Plane), plane2 (Plane)
Output(s): bool
Nested Custom Node(s): Vector.IsInPlane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Plane.IsCoplanarWithPlane.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Point.Actions.dyn
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/1.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/1.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/1.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/1.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/1.x/Point.RoundUpToPrecision.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Point.Query.dyn
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/1.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/1.x/Point.IsOutOfPlane.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.PointSequence.dyn
PointSequence.AccumulatedDistance
Retrieves the accumulated distances of a sequence of points
Input(s): seq (Autodesk.Point[])
Output(s): distance
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/PointSequences.ShortestPath.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Solid.dyn
Solid.ByUnion+
The OOTB node Solid.ByUnion occasionally fails when trying to merge solids with almost adjacent faces. This node will return the minimum amount of joined solids possible in such cases instead of returning null.
Input(s): solids (Autodesk.Solid[])
Output(s): solids
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Solid.ByUnion+.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Surface.dyn
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/1.x/Surface.FilterByOrientation.dyf
Surface.IsPlanar
Checks whether a face is planar
Input(s): surface (Surface)
Output(s): bool
Nested Custom Node(s): Paneling.GridFromFace, TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Surface.IsPlanar.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.UV.Actions.dyn
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/1.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/1.x/UV.PruneDuplicates.dyf
UV.RoundDownToPrecision
Rounds a UV coordinate down to a specified precision
Input(s): uv (UV), Precision (double)
Output(s): uv
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.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/1.x/UV.Swap.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.UV.Create.dyn
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/1.x/UV.ByXY.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.UV.Query.dyn
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/1.x/UV.Average.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Vector.Actions.dyn
Vector.CorrectOrientation
Inverts vector A if its inversion is closer to vector B
Input(s): VectorA (Vector), VectorB (Vector)
Output(s): Vector
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Vector.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/1.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/1.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/1.x/Vector.PruneDuplicates.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Vector.Create.dyn
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/1.x/AngleBisector.ByPoints.dyf
ThirdXYZAxis.ByTwoVectors
Given two main XYZ axes (or vectors pointing more or less in their general direction), this node will find the third axis.
Input(s): Axis1 (Vector), Axis2 (Vector)
Output(s): vector, str
Nested Custom Node(s): XYZAxis.FromVector, Vector.CorrectOrientation
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.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/1.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/1.x/XYZAxis.FromVector.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Geometry.Vector.Query.dyn
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/1.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/1.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/1.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/1.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/1.x/Vector.IsParallelToPlane.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Paneling.DataPreparation.dyn
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/1.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/1.x/Paneling.InvertAndMirrorNormalizedValues.dyf
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/1.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/1.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/1.x/Paneling.MakeTriangles.dyf
Paneling.ShiftPlacementAndReverse
Shifts (integer) and reverses (bool) a given list
Input(s): seq, shift (int - 0), reverse (bool - false)
Output(s): seq
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/Paneling.TriangularSubpattern.dyf
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/1.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/1.x/Paneling.Quadrilateral.dyf
Paneling.Quadrilateral2byX
Creates groups of points from a list of UVs or XYZs for the placement of quadrilateral panels that have more than 4 placement points (e.g. bent panels). The placement pattern can be reversed (boolean), rotated (boolean) and shifted (integer).
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/1.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/1.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/1.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/1.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), shiftPlacementRowsLying (int - 0), shiftPlacementRowsStanding (int - 0), rotateGridBy90Degrees (bool - false)
Output(s): rowsLying, rowsStanding, leftCornersLying, leftCornersStanding, rightCornersLying, rightCornersStanding
Nested Custom Node(s): List.FilterBySublistLength, Paneling.BuildTriangularSublists, Paneling.MakeTriangles, Paneling.ShiftPlacementAndReverse, Math.IsEvenNumber, Math.IsOddNumber, UV.Swap
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Paneling.TriangularFlatMirrored.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Application.dyn
RevitFile.BasicFileInfo
Retrieves basic information about a given Revit file.
PLEASE NOTE: The SavedInLaterVersion property is only available when running the node in Revit 2017 or later, it will return Null in previous versions of Revit.
Input(s): filePath (string)
Output(s): Username, Language, Version, SavedInCurrentVersion, SavedInLaterVersion, IsWorkshared, IsLocal, IsCentral, CentralPath
Contains Python code!
Nested Custom Node(s): Application.Version
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitFile.BasicFileInfo.dyf
Application.Version
Retrieves the name, version and build of the current Revit application.
Output(s): Name, Version, Build, Language, fullVersion
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Application.Version.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Document.Actions.dyn
Document.AddLink
Adds a link to a model to the current document
Input(s): filePath (string), relativePath (bool - true)
Output(s): RevitLinkInstance, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.LoadFamily.dyf
Document.SaveAs
Saves the active Revit document under the given name.
Input(s): filePath (string), compactFile (bool - false), saveAsCentral (bool - false)
Output(s): success
Contains Python code!
Nested Custom Node(s): Document.IsWorkshared
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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 - ""), runMe (bool - false)
Output(s): success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.SynchronizeWithCentral.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Document.Query.dyn
Document.ActiveViewFromCurrentDocument
Gets the active view of the current document
Output(s): View
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.ActiveViewFromCurrentDocument.dyf
Document.BuiltInCategories
List all the available BuiltInCategories. Output can be limited to Dynamo-supported categories only.
Input(s): dynamoSupportedCategoriesOnly (bool - true)
Output(s): BuiltInCategories, ElementIDs, Categories
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/Document.BuiltInParameters.dyf
Document.ContainsElementsOfCategory
Checks if family instances of specified categories are present in the model.
Input(s): category (var[]..[]), toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): any?, all?, per category, instances
Nested Custom Node(s): List.AnyTrue, List.IsNotEmpty, ReturnListOrSingleValue, All Elements Of Category+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.ContainsElementsOfCategory.dyf
Document.Default3DView
Returns the default 3D view of the current model (if there is such a view)
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): view
Nested Custom Node(s): Document.Views, View.Type, ScopeIf+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.Default3DView.dyf
Document.DesignOptions
Returns all design options in the model, grouped by design option set
Output(s): DesignOptions, DesignOptionSets
Nested Custom Node(s): DesignOption.DesignOptionSet
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.DesignOptions.dyf
Document.ElementTypes
Retrieves a list of all Revit element types
Output(s): elementTypes, elementTypeNames
Contains Python code!
Nested Custom Node(s): Element.Name+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.ElementTypes.dyf
Document.Enums
Retrieves all Enums from the Revit API
Output(s): enumNames
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.Enums.dyf
Document.IsWorkshared
Returns true if the current project is workshared
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.IsWorkshared.dyf
Document.PerformanceAdviserRules
Retrieves all Performance Adviser Rules from the current document
Input(s): docOrRevitLinkInstance (var - null)
Output(s): performanceAdviserRules
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.PerformanceAdviserRules.dyf
Document.Phases
Retrieves all phases in the active document in chronological order
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): Phases
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.Phases.dyf
Document.ProjectInfo
Gets the project information.
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
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/1.x/Document.ProjectInfo.dyf
Document.ProjectParameters
Retrieves all project parameters and the categories they have been assigned to
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): paramName, categories, variesAcrossGroups, parameterGroup, parameterType, unitType, isVisible, parameterElement, GUID, isInstanceParameter, builtInCategories
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.ProjectParameters.dyf
Document.ProjectParametersByCategory
Retrieves all project parameters for a given category
Input(s): category (var[]..[]), toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): paramNames, variesAcrossGroups, parameterGroups, parameterTypes, unitTypes, isVisible, GUIDs, isInstanceParameter, parameterElements
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList, Category.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.ProjectParametersByCategory.dyf
Document.ProjectPosition
Gets the project's position data relative to the origin. Output coordinates may diverge from the project base point coordinates once the project base point has been moved in an unclipped state. Use the built-in nodes Location.Latitude & Location.Longitude to retrieve latitude and longitude.
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): Angle (degr.), Elevation, EastWest, NorthSouth
Contains Python code!
Nested Custom Node(s): InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType, Application.Version
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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), docOrRevitLinkInstance (var - null)
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.StartingView.dyf
Document.UnitTypes
Retrieves all available unit types of a given document
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): unitTypes
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.UnitTypes.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), docOrRevitLinkInstance (var - null)
Output(s): Views
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.Views.dyf
Document.Worksets
Returns all Worksets in the current document
Input(s): toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): worksets
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Document.Worksets.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.AngularDimension.dyn
AngularDimension.ByElements
Creates angular dimensions between elements. Only works in project environment. ATTENTION: Do NOT use in automatic mode.
Input(s): element1 (var[]..[]), element2 (var[]..[]), radius (double), view, dimensionType
Output(s): dimension
Contains Python code!
Nested Custom Node(s): TurnIntoList, Element.Location+, Vector.IntersectionWithVector, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/AngularDimension.ByElements.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Array.dyn
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): baseArray
Output(s): familyParameter, familyParameterName
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Array.AssociatedFamilyParameter.dyf
Array.GroupType
Returns the group type of a given array
Input(s): array
Output(s): groupType
Contains Python code!
Nested Custom Node(s): Element.ElementType+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Array.GroupType.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Assembly.dyn
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/1.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/1.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/1.x/Assembly.RemoveMembers.dyf
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/1.x/Assembly.FromElements.dyf
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/1.x/Assembly.Members.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.BoundingBox.dyn
RevitBoundingBox.FromDynamoBoundingBox
Turns a Dynamo bounding box into a Revit bounding box.
Input(s): DynamoBoundingBox (BoundingBox)
Output(s): RevitBoundingBox
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitBoundingBox.FromDynamoBoundingBox.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Category.dyn
Category.Material
Retrieves the material assigned to the given category in the object styles
Input(s): category (var[]..[])
Output(s): material
Contains Python code!
Nested Custom Node(s): Category.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Category.Material.dyf
Category.Subcategories
Retrieves all the subcategories for a given category
Input(s): category (var[]..[])
Output(s): subcategories
Contains Python code!
Nested Custom Node(s): Category.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Category.Subcategories.dyf
Category.Type
Returns the type of the category
Input(s): category (var[]..[])
Output(s): categoryType
Contains Python code!
Nested Custom Node(s): Category.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Category.Type.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Color.dyn
RevitColor.FromDynamoColor
Creates a Revit color from a Dynamo color
Input(s): DynamoColor (DSCore.Color)
Output(s): RevitColor
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitColor.FromDynamoColor.dyf
RevitColor.ToDynamoColor
Converts Revit colors into Dynamo colors
Input(s): RevitColor
Output(s): DynamoColor
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitColor.ToDynamoColor.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.CurtainPanel.dyn
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. If no host panel is found, the node will return the input panel instead.
Input(s): curtainPanel
Output(s): hostPanel
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/CurtainPanel.HostPanel.dyf
CurtainPanel.IsPhantomPanel
Checks whether a given curtain panel is not an actual model element. (These types of objects get generated when curtain grid segments are deleted or in other words when multiple cells of the curtain grid are merged into one panel)
Input(s): curtainPanel
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/CurtainPanel.IsPhantomPanel.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.DesignOption.dyn
DesignOption.DesignOptionSet
Returns the design option set of a given design option
Input(s): designOption
Output(s): designOptionSet
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DesignOption.DesignOptionSet.dyf
DesignOption.IsPrimary
Determines whether a given design option is the primary option in its set
Input(s): designOption
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DesignOption.IsPrimary.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.DetailComponent.dyn
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/1.x/DetailComponent.ByCurve.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.DetailCurve.dyn
DetailCurve.ByCurve+
Creates a detail line based on a given curve. Unlike the OOTB node it can also draw circles.
Input(s): curve (Autodesk.Curve), view
Output(s): detailCurve
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DetailCurve.ByCurve+.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Dimension.dyn
Dimension.SetType
Changes the dimension type of a given dimension instance to the specified type
Input(s): dimensionInstance, dimensionType
Output(s): dimensionInstance, success
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Dimension.SetType.dyf
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/1.x/Dimension.AssociatedFamilyParameter.dyf
Dimension.ReferencedElements
Returns all elements that are referenced by a given dimension
Input(s): dimension
Output(s): elements
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Dimension.ReferencedElements.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.DirectShape.dyn
DirectShape.FromRevitGeometry
Creates a DirectShape from native Revit geometry objects
Input(s): revitGeometry, category, name
Output(s): directShape
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DirectShape.FromRevitGeometry.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.DividedSurface.Actions.dyn
DividedSurface.AddIntersect
Adds an intersect to a divided surface
Input(s): dividedSurface (DividedSurface), element
Output(s): dividedSurface
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, +1, List.DropLastItem
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, List.NormalizedSequenceByFunction, DividedSurface.AddIntersect, +1, List.DropLastItem
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, List.DropLastItem
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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): List.NormalizedSequenceByFunction, List.DropLastItem, DividedSurface.AddIntersect, +1
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DividedSurface.VerticalIntersectsByEndpointsAndFunction.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.DividedSurface.Query.dyn
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
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/DividedSurface.EvaluateGridNodes.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Door.dyn
Door.Rooms
Gets the rooms that are connected by a given door
Input(s): door (FamilyInstance[]..[]), phase (var - null)
Output(s): fromRoom, toRoom, roomCount
Contains Python code!
Nested Custom Node(s): ScopeIf+, Document.Phases
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Door.Rooms.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Element.Actions.dyn
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/1.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/1.x/Element.CopyToLevel.dyf
Element.CutGeometry
Adds a solid-solid cut for two model elements (if possible).
Input(s): elementToBeCut (var[]..[]), cuttingElement (var[]..[])
Output(s): success, elementToBeCut, cuttingElement
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.CutGeometry.dyf
Element.JoinGeometry
Joins two model elements (if possible). Only works inside the project environment.
Input(s): element1 (var[]..[]), element2 (var[]..[])
Output(s): success, element1, element2
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.JoinGeometry.dyf
Element.Mirror
Mirrors an element about a given plane.
Input(s): element (var[]..[]), plane (Plane), copy (bool - false)
Output(s): element
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Mirror.dyf
Element.SetMaterialParameterByCategory
Sets a material parameter of a given element to
Input(s): element, materialParameterName (string)
Output(s): elements, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.SetMaterialParameterByCategory.dyf
Element.SetName
Gets the name of a given Revit element
Input(s): element (var[]..[]), name (string[]..[])
Output(s): element, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.SetName.dyf
Element.SetSubCategory
Assigns the given element(s) to the specified subcategory. The node should work for all geometry and curve elements. In some cases the GraphicsStyleType (Cut = TRUE, Projection = FALSE) needs to be specified.
Input(s): elements (var[]..[]), subCategory (Category), cutOrProjection (bool - false)
Output(s): elements, success
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.SetSubCategory.dyf
Element.SetWorkset
Sets the workset of a given element
Input(s): workset, element
Output(s): elements, success
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.SetWorkset.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Element.Query.dyn
Element.AllInstances
Retrieves all instances of a given element
Input(s): element
Output(s): elements
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.AllInstances.dyf
Element.AllInstancesAtLevel
Retrieves all instances of an element on a given level
Input(s): element (var[]..[]), level (Level)
Output(s): elements
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.AllInstancesAtLevel.dyf
Element.AllViewDependentInstances
Retrieves all instances of a view-dependent element in a given view
Input(s): element (var[]..[]), view (var)
Output(s): elements
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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): InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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): elementParameters, associatedFamilyParameters, elementParameterNames, associatedFamilyParameterNames
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.AssociatedFamilyParameters.dyf
Element.Category+
Returns the category of a given element. Unlike the OOTB node Element.GetCategory, it will work for subcategories, families, family documents, schedules and graphics styles as well.
Input(s): element
Output(s): category, builtInCategory
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Category+.dyf
Element.ContainsTransparentMaterials
Checks if a given element contains transparent materials.
Input(s): element, minTransparencyPercentage (double)
Output(s): bool
Nested Custom Node(s): TurnIntoList, Material.Properties, ReturnListOrSingleValue, List.AnyTrue, Element.Materials+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.ContainsTransparentMaterials.dyf
Element.CurtainGridLines
Retrieves the grid lines of curtain walls, curtain systems or glazed roofs.
Input(s): hostElement
Output(s): uGridLines, vGridLines
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.CurtainGridLines.dyf
Element.DependentElements
Returns all elements that, from a logical point of view, are the children of this element.
Input(s): element (var[]..[])
Output(s): dependents
Contains Python code!
Nested Custom Node(s): Application.Version
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.DependentElements.dyf
Element.ElementType+
Gets the family type of a given element (if applicable). Unlike the OOTB node, it also works for elements in linked models.
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/1.x/Element.ElementType+.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/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.ExternalFileReferencePath.dyf
Element.Geometry+
Returns Dynamo AND native Revit geometry of a given element
Input(s): element (Element), detailLevel (string - "Medium"), includeInvisibleObjects (bool - false), view (View - null), returnGeometryWithoutInserts (bool - false)
Output(s): dynamoGeometry, revitGeometry, subCategory
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList, Element.Inserts
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Geometry+.dyf
Element.Group
Retrieves the group an element belongs to (if any)
Input(s): element
Output(s): group
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Group.dyf
Element.Host+
Gets an element's host. Unlike the OOTB node FamilyInstance.GetHost it not only works for family instances but also for elements like wall sweeps, foundations, railings, builing pads and topo subregions.
Input(s): element
Output(s): host
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Host+.dyf
Element.ID+
Gets the ID of a given Revit elements. Unlike the OOTB Element.Id node, this node also works on mixed lists of Revit elements and categories.
Input(s): element
Output(s): int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.ID+.dyf
Element.Inserts
Gets all the objects inserted into a given element.
Input(s): element (var[]..[]), includeOpenings (bool - false), includeShadows (bool - false), includeEmbeddedWalls (bool - false), includeSharedEmbeddedInserts (bool - false)
Output(s): inserts
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Inserts.dyf
Element.IsOfCategory
Checks whether an element is of a specified category
Input(s): element, category (var[]..[])
Output(s): bool
Nested Custom Node(s): Element.Category+, BuiltInCategory.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/Element.IsRelatedToMass.dyf
Element.Level
Gets an element's level
Input(s): element
Output(s): level
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, hasMultipleCurves, multipleCurves
Contains Python code!
Nested Custom Node(s): TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Location+.dyf
Element.Materials+
Retrieves all materials from a given element. Unlike the OOTB node Element.GetMaterials, it also retrieves QTO information.
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/1.x/Element.Materials+.dyf
Element.Name+
Gets an element's name. Unlike the OOTB node, this node should work for all Revit elements that have names and will also return the localized names of system parameters, parameter groups, display unit types, parameter types, unit symbol types and unit types.
Input(s): element
Output(s): name
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Name+.dyf
Element.OwnerView
Gets the owner view of a given Revit element (if possible)
Input(s): element
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.OwnerView.dyf
Element.Panels
Retrieves the panels nested in a curtain wall, curtain system or glazed roof.
Differences to OOTB node CurtainPanel.ByElement:
- Returns embedded walls
- Panels of curtain systems and glazed roofs are returned in a nested list, with one sublist for each face of the curtain system.
PLEASE NOTE: Will not work for glazed roofs created by RoofByFace method.
Input(s): hostElement, organizeInRows (bool - false)
Output(s): panels
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Panels.dyf
Element.ParameterExists
Checks if an element contains a parameter of a given name
Input(s): param (string), element (Revit.Element)
Output(s): bool
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.ParameterExists.dyf
Element.Phases
Gets the created and demolished phases of an element
Input(s): element
Output(s): Created, Demolished
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Phases.dyf
Element.SubComponents
Retrieves all (retrievable) subcomponents of a given family instance, beam system, stair (runs, landings and supports) or railing (top rails and hand rails).
Input(s): element (var[]..[])
Output(s): subComponents
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.SubComponents.dyf
Element.SuperComponent
Retrieves the supercomponent of a given family instance, hand rail, top rail, stair component or beam in a beam system.
Input(s): element (var[]..[])
Output(s): superComponent
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.SuperComponent.dyf
Element.Workset
Retrieves the workset of a given element
Input(s): element
Output(s): workset
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.Workset.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.ElevationMarker.dyn
ElevationMarker.Views
Retrieves all views referenced by a given elevation marker
Input(s): elevationMarker
Output(s): views
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ElevationMarker.Views.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Enum.dyn
Enum.Values
Returns the keys and values of a given Revit Enum
Input(s): enumName (string[]..[])
Output(s): values, keys
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Enum.Values.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Family.dyn
Family.HasRoomCalculationPoint
Determines whether the given family has the room calculation point activated.
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/1.x/Family.HasRoomCalculationPoint.dyf
Family.HostingBehavior
Returns the expected host class of a family (if any)
Input(s): family (Family)
Output(s): hostingBehavior
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Family.HostingBehavior.dyf
Family.IsInPlace
Determines if a family is an in-place family
Input(s): family (Family)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Family.IsInPlace.dyf
Family.PlacementType
Returns the expected host class of a family (if any)
Input(s): family (Family)
Output(s): placementType
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Family.PlacementType.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FamilyInstance.Actions.dyn
FamilyInstance.AddCoping
Adds a coping (cut) to a steel beam
Input(s): familyInstance, cuttingElement
Output(s): familyInstance, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyInstance.AddCoping.dyf
FamilyInstance.FlipFacingOrientation
Flips the facing orientation of a given family instance
Input(s): familyInstance
Output(s): familyInstance, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyInstance.FlipFacingOrientation.dyf
FamilyInstance.FlipFromToRoom
Flips the settings of "From Room" and "To Room" for any given door or window instance. PLEASE NOTE: Will not work on door or window families with an activated room calculation point.
Input(s): familyInstance (FamilyInstance)
Output(s): familyInstance, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyInstance.FlipFromToRoom.dyf
FamilyInstance.FlipHandOrientation
Flips the hand orientation of a given family instance
Input(s): familyInstance
Output(s): familyInstance, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyInstance.FlipHandOrientation.dyf
FamilyInstance.RemoveCoping
Removes a coping (cut) from a steel beam
Input(s): familyInstance, cuttingElementToBeRemoved
Output(s): familyInstance, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, List.EqualSublistLengths, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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, success
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyInstance.SetType.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FamilyInstance.Create.dyn
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/1.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/1.x/FamilyInstance.ByPointInView.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FamilyInstance.Query.dyn
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/1.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/1.x/FamilyInstance.HandOrientation.dyf
FamilyInstance.IsMirrored
Checks if a family instance is mirrored
Input(s): familyInstance (var[]..[])
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyInstance.IsMirrored.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FamilyParameter.dyn
FamilyParameter.MakeInstance
Converts a type parameter to an instance parameter. ATTENTION: Only works in a family document.
Input(s): familyParameter
Output(s): familyParameter, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyParameter.MakeInstance.dyf
FamilyParameter.MakeType
Converts an instance parameter to a type parameter. ATTENTION: Only works in a family document.
Input(s): familyParameter
Output(s): familyParameter, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyParameter.MakeType.dyf
FamilyParameter.SetFormula
Sets the formula for a given family parameter. ATTENTION: Will only work if family contains at least one family type.
Input(s): familyParameter (var[]..[]), formula (string[]..[])
Output(s): familyParameter, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyParameter.SetFormula.dyf
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/1.x/FamilyParameter.Properties.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FamilyType.dyn
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/1.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/1.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/1.x/FamilyType.SetCompoundLayerWidth.dyf
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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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 (var[]..[])
Output(s): materials, functions, widths, isCore, wraps, isVariable, isStructuralDeck, layers
Contains Python code!
Nested Custom Node(s): InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyType.CompoundStructureLayers.dyf
FamilyType.FamilyName
Returns the family name of a given family type
Input(s): familyType
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyType.FamilyName.dyf
FamilyType.Function
Retrieves the Function property of a given family type (if it has that property)
Input(s): familyType
Output(s): function
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FamilyType.Function.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FillPatternElement.dyn
FillPatternElement.IsSolidFill
Checks if the given FillPatternElement is a solid fill
Input(s): fillPatternElement (FillPatternElement)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FillPatternElement.IsSolidFill.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FilledRegionType.dyn
FilledRegionType.FillPatterns
Returns the fill pattern(s) of a given filled region type. In Revit versions prior to 2019 the background fill pattern will always return Null.
Input(s): filledRegionType (FilledRegionType[]..[])
Output(s): foregroundFillPattern, backgroundFillPattern
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/FilledRegionType.FillPatterns.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Floor.dyn
Floor.ResetSlabShape
Resets the slabshape of a floor
Input(s): floor (Floor[]..[])
Output(s): floor, success
Nested Custom Node(s): Roof.ResetSlabShape
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Floor.ResetSlabShape.dyf
Floor.SlabShapeByPoints
Transform a slab shape based on a list of Points
Input(s): points (Autodesk.Point[]..[]), floor
Output(s): floor, success
Nested Custom Node(s): Roof.SlabShapeByPoints
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Floor.SlabShapeByPoints.dyf
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/1.x/Floor.SlabShapeHasBeenModified.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.FootingType.dyn
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/1.x/FootingType.BreaksAtInserts.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Grid.dyn
Grid.Plane
Retrieves the plane of a grid. Returns null for curved grid lines.
Input(s): grid (Grid[]..[])
Output(s): plane
Nested Custom Node(s): List.ReplaceItemAtIndex+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Grid.Plane.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Group.dyn
Group.Ungroup
Ungroups a group and returns a boolean and the ungrouped elements. Returning the ungrouped elements can be turned off for two reasons: 1.) better performance when dealing with large numbers of groups. 2.) Circumventing a bug where DynamoRevit will fail to instantiate TextNote elements contained in detail groups when run on top of non-English Revit.
Input(s): group, showUngroupedElements (bool - true)
Output(s): ungroupedElements, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Group.Ungroup.dyf
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/1.x/Group.FromElements.dyf
Group.IsMirrored
Checks if a list of group instances have been mirrored. The reference group should usually be the first placed instance of the group (since that one has likely not been mirrored). The node will return null for group instances of other group types than the reference group as well as for group instances with excluded members. Furthermore, it will return null for all groups if the reference group itself has excluded members or if it doesn't contain any loadable families (since they are the only way of determining if the group instance has been mirrored). The node will likely report null for group instances where members have been excluded but subsequently been restored.
Input(s): referenceGroup (var), groupsToCheck (var[])
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Group.IsMirrored.dyf
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/1.x/Group.Members.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.GroupType.dyn
GroupType.Groups
Returns all group instances of a given group type
Input(s): groupType
Output(s): groups
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/GroupType.Groups.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.ImportInstance.dyn
ImportInstance.IsLinked
Determines whether an ImportInstance is linked or not
Input(s): importInstance (ImportInstance)
Output(s): bool
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ImportInstance.IsLinked.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Level.dyn
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/1.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
Contains Python code!
Nested Custom Node(s): Element.Level, Document.Views, TurnIntoList, ReturnListOrSingleValue, Application.Version, ScopeIf+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Level.Views.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.MassFloor.dyn
MassFloor.Mass
Gets the mass a given mass floor belongs to
Input(s): massFloor
Output(s): mass
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/MassFloor.Mass.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Material.dyn
Material.Duplicate
Duplicates a material
Input(s): material, name
Output(s): duplicate
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, List.EqualSublistLengths, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Material.Duplicate.dyf
Material.Assets
Retrieves all assets from a given material
Input(s): Material
Output(s): AppearanceAsset, ThermalAsset, StructuralAsset
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Material.Assets.dyf
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/1.x/Material.Properties.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.ModelCurve.dyn
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): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.x/SpaceSeparator.FromCurve.dyf
ModelCurve.Type
Gets the type of a given model curve
Input(s): modelCurve
Output(s): type
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ModelCurve.Type.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.ParameterElement.dyn
ParameterElement.SetAllowVaryBetweenGroups
Lets you define whether or not the values of a given project parameter can vary across group members.
Input(s): parameterElement, allow (bool - true)
Output(s): parameterElement, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ParameterElement.SetAllowVaryBetweenGroups.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Part.dyn
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/1.x/Part.SourceElement.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.RevisionCloud.dyn
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, BoundingBox.FromBoundingBoxes, View.Plane
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevisionCloud.FromElements.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.RevitLinkType.dyn
RevitLinkType.Reload
Reloads a Revit or IFC link.
Input(s): revitLinkType, reloadFrom (string - null)
Output(s): revitLinkType, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitLinkType.Reload.dyf
RevitLinkType.Unload
Unloads a Revit or IFC link
Input(s): revitLinkType, forCurrentUserOnly (bool - false)
Output(s): revitLinkType, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitLinkType.Unload.dyf
RevitLinkType.AttachmentType
Returns the attachment type of a RevitLInkType
Input(s): revitLinkType (var[]..[])
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitLinkType.AttachmentType.dyf
RevitLinkType.PathType
Returns the path type of a RevitLInkType
Input(s): revitLinkType (var[]..[])
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RevitLinkType.PathType.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Roof.dyn
Roof.ResetSlabShape
Resets the slabshape of a roof
Input(s): roof (var[]..[])
Output(s): roof, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Roof.ResetSlabShape.dyf
Roof.SlabShapeByPoints
Transform a slab shape based on a list of Points.
Input(s): points (Autodesk.Point[]..[]), roof
Output(s): roof, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Roof.SlabShapeByPoints.dyf
Roof.CreationMethod
Retrieves the creation method of a given roof
Input(s): roof
Output(s): creationMethod
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Roof.SlabShapeHasBeenModified.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Room.dyn
Room.UnplacedByNameAndNumber
Creates an unplaced room
Input(s): names (string[]), numbers (string[]), phase (var - null)
Output(s): room
Contains Python code!
Nested Custom Node(s): ScopeIf+, Document.Phases
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.UnplacedByNameAndNumber.dyf
Room.Boundaries
Gets a list of all boundaries of a given room or area and a corresponding list of the elements that are generating those boundaries.
Input(s): room
Output(s): elements, curves
Contains Python code!
Nested Custom Node(s): Application.Version
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.Boundaries.dyf
Room.Doors
Retrieves all doors that are associated with a room (hosted in walls and roofs).
Input(s): room, phase (var - null)
Output(s): doors
Nested Custom Node(s): TurnIntoList, Door.Rooms, List.JoinByKey, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.Doors.dyf
Room.Finishes
Returns all room bounding faces and their materials
Input(s): room
Output(s): finishMaterials, areas, faceTypes, revitFaces, elements
Contains Python code!
Nested Custom Node(s): InternalUnit.ToDisplayUnit, UnitType.DisplayUnitType, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.Finishes.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/1.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 (var[]..[]), 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/1.x/Room.InsertsOfBoundariesByCategory.dyf
Room.State
Returns the state of a room, i.e. is it placed, unplaced, redundant or not enclosed.
Input(s): room
Output(s): state
Nested Custom Node(s): String.BinaryFromBooleans, List.MatchWithKeyValues, Room.Boundaries
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.State.dyf
Room.Windows
Retrieves all windows that are associated with a room (hosted in walls and roofs).
Input(s): room, phase (var - null)
Output(s): windows
Nested Custom Node(s): Window.Rooms, List.JoinByKey, ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.Windows.dyf
RoomSequence.ToDoorSequence
Retrieves a sequence of doors connecting a given sequence of rooms (if possible)
Input(s): rooms, phase (var - null)
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/1.x/RoomSequence.ToDoorSequence.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.RoomTag.dyn
RoomTag.SetType
Changes the family type of a given room tag to the specified type
Input(s): roomTag, roomTagType
Output(s): roomTag, success
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RoomTag.SetType.dyf
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, Application.Version
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/RoomTag.Room.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.SelectionSet.dyn
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/1.x/SelectionSet.ByElements.dyf
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/1.x/SelectionSet.Elements.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.SpotCoordinate.dyn
SpotCoordinate.ByPoint
Places a spot coordinate at a given point in a given view. May not work in all view types.
Input(s): point (Point), view (Elements.View), bend (Vector), end (Vector), hasLeader (bool - false)
Output(s): spotCoordinate
Contains Python code!
Nested Custom Node(s): Document.Default3DView, View.Direction, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/SpotCoordinate.ByPoint.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.SpotElevation.dyn
SpotElevation.ByPoint
Places a spot elevation at a given point in a given view. May not work in all view types.
Input(s): point (Point), view (Elements.View), bend (Vector), end (Vector), hasLeader (bool - false)
Output(s): spotElevation
Contains Python code!
Nested Custom Node(s): Document.Default3DView, View.Direction, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/SpotElevation.ByPoint.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.StructuralFoundation.dyn
StructuralFoundation.Kind
Retrieves the kind of a given structural foundation (isolated, wall, slab).
Input(s): structuralFoundation
Output(s): kind
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/StructuralFoundation.Kind.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Subcategory.dyn
Subcategory.ByName
Creates a new subcategory for a given element category (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/1.x/Subcategory.ByName.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.TextElement.dyn
TextElement.SetText
Sets the text of a given text element. Unlike the OOTB node TextNote.SetText, this one works on ModelText as well.
Input(s): element, text (string[]..[])
Output(s): element, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/TextElement.SetText.dyf
TextElement.Text
Gets the text stored in a text element. Unlike the OOTB node TextNote.Text, this one works on ModelText as well.
Input(s): element
Output(s): str
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/TextElement.Text.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Topography.dyn
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/1.x/Topography.IntersectionWithPlane.dyf
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/1.x/Topography.IsSubregion.dyf
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/1.x/RevitUV.ToDynamoUV.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.UnitType.dyn
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/1.x/UnitType.DisplayUnitType.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Wall.Actions.dyn
Wall.Flip
Flips the orientation of a given wall - DO NOT USE IN AUTOMATIC MODE
Input(s): wall (Wall[]..[])
Output(s): wall, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Wall.Flip.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Wall.Query.dyn
Wall.CreationMethod
Retrieves the creation method of a given wall
Input(s): wall
Output(s): creationMethod
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Wall.Orientation.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.WallType.dyn
WallType.Kind
Retrieves the wall kind of a given wall type
Input(s): wallType (WallType)
Output(s): kind
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/WallType.Kind.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Window.dyn
Window.Rooms
Gets the rooms that are connected by a given window
Input(s): window (FamilyInstance[]..[]), phase (var - null)
Output(s): fromRoom, toRoom, roomCount
Nested Custom Node(s): Door.Rooms
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Window.Rooms.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Elements.Workset.dyn
Workset.Kind
Retrieves the kind of a given workset
Input(s): workset
Output(s): kind
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Workset.Kind.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.FamilyDocument.dyn
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/1.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/1.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/1.x/FamilyDocument.FamilyTypes.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Selection.dyn
All Elements Of Category+
Gets all placed elements of a given category in the model.
Input(s): category (var[]..[]), toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): elements
Contains Python code!
Nested Custom Node(s): BuiltInCategory.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20Elements%20Of%20Category+.dyf
All Elements of Family Type+
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), docOrRevitLinkInstance (var - null)
Output(s): elements
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20Elements%20of%20Family%20Type+.dyf
All Families Of Category
Gets all famiies of a given category in the model (does *not *work for system families)
Input(s): category (var[]..[]), toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): families
Contains Python code!
Nested Custom Node(s): Element.IsOfCategory
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20Families%20Of%20Category.dyf
All Family Types Of Category
Gets all family types/symbols of a given category in the model.
Input(s): category (var[]..[]), toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): familyTypes
Contains Python code!
Nested Custom Node(s): BuiltInCategory.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20Family%20Types%20Of%20Category.dyf
All Intersecting Elements Of Category By Vector
Finds all elements of a specified category that intersect with a list of vectors. If no 3D view is supplied, the node will create a temporary view and isolate the given categories in that view. After the operation the temporary view is deleted.
Input(s): threeDView (Elements.View3D - null), category (var[]..[]), origin (Autodesk.Point), direction (Vector), toggle (bool - true), maxBounces (int - 1)
Output(s): elements
Contains Python code!
Nested Custom Node(s): Passthrough, View.DisableTemporaryHideIsolate, View.TemporarilyIsolateCategory, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20Intersecting%20Elements%20Of%20Category%20By%20Vector.dyf
All Intersecting Elements of Category By BoundingBox
Finds all elements that intersect the bounding box of a given element
Input(s): element, tolerance (double - 0), category (var[]..[]), threeDview (Elements.View3D - null)
Output(s): intersectingElements
Contains Python code!
Nested Custom Node(s): TurnIntoList, Document.ActiveViewFromCurrentDocument, DisplayUnit.ToInternalUnit, Category.FromInput, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20Intersecting%20Elements%20Of%20Category%20By%20BoundingBox.dyf
All Placed Family Types of Category
Retrieves all family types of a given category that have placed instances
Input(s): category (var[]..[]), toggle (bool - true), docOrRevitLinkInstance (var - null)
Output(s): familyTypes
Nested Custom Node(s): Element.ElementType+, All Elements Of Category+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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 (var[]..[]), view (var[]..[]), toggle (bool - true)
Output(s): elements
Contains Python code!
Nested Custom Node(s): View.PrimaryView, BuiltInCategory.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/All%20View-Dependent%20Family%20Instances%20Of%20Category.dyf
Element.FromDynamoSurface
Returns the underlying Revit element of a given face
Input(s): DynamoSurface (Surface)
Output(s): element
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.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/1.x/RevitFaceReference.FromDynamoSurface.dyf
Elements.FilterByName
Retrieves those elements from a collection whose names match the search string
Input(s): elements (var[]), searchString (string), ignoreCase (bool - true)
Output(s): first, in, out
Nested Custom Node(s): Element.Name+
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Elements.FilterByName.dyf
Elements.FilterByParameterValueAndCondition
Retrieves those elements from a collection whose parameter value matches the defined condition
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/1.x/Elements.FilterByParameterValueAndCondition.dyf
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. Has an option to return categories that are not supported by OOTB Dynamo nodes.
Input(s): searchFor (string), ignoreCase (bool - true), dynamoSupportedCategoriesOnly (bool - true)
Output(s): BuiltInCategories, ElementIDs, Categories
Nested Custom Node(s): Document.BuiltInCategories
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/BuiltInCategory.ByName.dyf
BuiltInCategory.FromInput
Returns a BuiltInCategory from a category, a Dynamo-wrapped category, a BuiltInCategory or a string representing a BuiltInCategory.
Input(s): var[]..[]
Output(s): BuiltInCategory
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/BuiltInCategory.FromInput.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.BuiltInParameters
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/BuiltInParameter.ByName.dyf
Category.FromInput
Returns a category from a category, a Dynamo-wrapped category, a BuiltInCategory or a string representing a BuiltInCategory.
Input(s): var[]..[]
Output(s): RevitCategory
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Category.FromInput.dyf
Element.ByID
Gets the Revit element(s) for a list of IDs (or a single ID). Optionally retrieves elements from linked documents as well.
Input(s): ID/UniqueId (var[]..[]), docOrRevitLinkInstance (var - null)
Output(s): element
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Element.ByID.dyf
ElementType.ByName
Retrieves an element type by its name - to be used with the OOTB node "All Elements of Type".
Input(s): name (string)
Output(s): elementType
Nested Custom Node(s): Document.ElementTypes
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ElementType.ByName.dyf
Room.AtPointInPhase
Tries to retrieve a room element at the given location for the given phase.
Input(s): point (Autodesk.Point), phase (var - null)
Output(s): room
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList, ScopeIf+, Document.Phases
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Room.AtPointInPhase.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.SharedParameterFile.dyn
SharedParameterFile.Parse
Returns all parameters from a shared parameter file.
Input(s): path (string)
Output(s): names, guids, data types, data categories, groups, descriptions, visible, user modifiable
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/SharedParameterFile.Parse.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Units.dyn
DisplayUnit.ToInternalUnit
Converts a value from a given display unit to Revit's internal unit
Input(s): val (double), displayUnitType
Output(s): val
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/InternalUnit.ToDisplayUnit.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.PerspectiveView.dyn
PerspectiveView.OrientToEyeAndTargetPosition
Sets the orientation of a given perspective view based on a given eye and target position. View needs to be in an unlocked state.
Input(s): view (PerspectiveView), eyePosition (Autodesk.Point), targetPosition (Autodesk.Point)
Output(s): View, success
Contains Python code!
Nested Custom Node(s): Vector.CorrectOrientation
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/PerspectiveView.OrientToEyeAndTargetPosition.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.PlanView.dyn
PlanView.Underlay
Returns the underlay(s) of a given plan view
Input(s): planView
Output(s): baseUnderlay, topUnderlay, underlayOrientation
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/PlanView.Underlay.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.Schedule.dyn
Schedule.KeyScheduleParameterName
If the schedule is a key schedule, the node returns the name of the key schedule parameter.
Input(s): schedule
Output(s): parameterName
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/Schedule.KeyScheduleParameterName.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.Sheet.dyn
PlaceholderSheet.ByNumberAndName
Creates placeholder sheets
Input(s): sheetNumber (string[]..[]), 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/1.x/PlaceholderSheet.ByNumberAndName.dyf
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/1.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/1.x/Sheet.Schedules.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.View.Actions.dyn
View.ConvertTemporaryHideIsolateToPermanent
Convert all temporary hidden elements or categories to permanently hidden in the given view.
Input(s): view
Output(s): view, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.ConvertTemporaryHideIsolateToPermanent.dyf
View.ConvertToIndependent
Converts a given dependent view to an independent view
Input(s): view (var[]..[])
Output(s): view, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.ConvertToIndependent.dyf
View.DisableTemporaryHideIsolate
Disables the temporary hide/isolate for the given view (if set)
Input(s): view
Output(s): view, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.DisableTemporaryHideIsolate.dyf
View.Duplicate
Duplicates a given view
Input(s): view, name (string[]..[])
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.Duplicate.dyf
View.DuplicateAsDependent
Duplicates a given view as a dependent view
Input(s): view, name (string[]..[])
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.DuplicateAsDependent.dyf
View.DuplicateWithDetailing
Duplicates a given view with detailing
Input(s): view, name (string[]..[])
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.DuplicateWithDetailing.dyf
View.OverrideElementTransparency
Overrides the transparency of an element in a given view
Input(s): element, view, transparencyPercentage
Output(s): element, view, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.OverrideElementTransparency.dyf
View.PermanentlyIsolateCategory
Permanently isolates categories in the given view
Input(s): view, category (var[]..[])
Output(s): view, category, success
Nested Custom Node(s): View.TemporarilyIsolateCategory, View.ConvertTemporaryHideIsolateToPermanent
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.PermanentlyIsolateCategory.dyf
View.PermanentlyIsolateElement
Permanently isolates elements in the given view
Input(s): view, element
Output(s): view, element, success
Nested Custom Node(s): View.TemporarilyIsolateElement, View.ConvertTemporaryHideIsolateToPermanent
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.PermanentlyIsolateElement.dyf
View.ResetElementOverrides
Resets all overrides for an element in a given view
Input(s): element, view
Output(s): element, view, success
Contains Python code!
Nested Custom Node(s): ReturnListOrSingleValue, TurnIntoList
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.ResetElementOverrides.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, success
Contains Python code!
Nested Custom Node(s): TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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/1.x/View.SetDesignOption.dyf
View.SetDetailLevel
Sets the detail level of a given view
Input(s): view, detailLevel
Output(s): view, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.SetDetailLevel.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/1.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/1.x/View.SetSolarStudyActiveFrameNumber.dyf
View.TemporarilyIsolateCategory
Temporarily isolates categories in the given view
Input(s): view, category (var[]..[])
Output(s): view, category, success
Contains Python code!
Nested Custom Node(s): Category.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.TemporarilyIsolateCategory.dyf
View.TemporarilyIsolateElement
Temporarily isolates elements in the given view
Input(s): view, element
Output(s): view, element, success
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.TemporarilyIsolateElement.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.View.Query.dyn
View.CategoryIsVisible
Checks if a given category is visible in a given view
Input(s): category (var[]..[]), view
Output(s): bool
Contains Python code!
Nested Custom Node(s): Application.Version, Category.FromInput
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.CategoryIsVisible.dyf
View.DependentViews
Returns all dependent views of a given view
Input(s): view (var[]..[])
Output(s): views
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.DependentViews.dyf
View.DetailLevel
Retrieves the detail level of a given view
Input(s): view
Output(s): detailLevel
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.DetailLevel.dyf
View.Direction
Returns the direction of a view
Input(s): view
Output(s): vector
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.Direction.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/1.x/View.IsPerspective.dyf
View.IsViewTemplate+
Checks if a given view is a view template. Unlike the OOTB node it works for all view types.
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/1.x/View.IsViewTemplate+.dyf
View.Phase
Returns the phase of a given view
Input(s): view
Output(s): phase
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.Phase.dyf
View.Plane
Retrieves the plane of a given view
Input(s): view
Output(s): plane
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.Plane.dyf
View.PrimaryView
Returns the primary view of a given view (i.e. the master view of a dependent view)
Input(s): view (var)
Output(s): view
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.PrimaryView.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/1.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 (Revit.View)
Output(s): int
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.SolarStudyTotalFrames.dyf
View.Type
Returns the type of a given view
Input(s): view
Output(s): type
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.Type.dyf
View.UsesViewFilters
Checks if a given view has any view filters applied to it.
Input(s): view
Output(s): bool
Nested Custom Node(s): List.IsNotEmpty, TurnIntoList, ReturnListOrSingleValue
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.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!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View.ViewTemplate.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.View3D.dyn
View3D.IsLocked
Checks if a given 3D view is locked. PLEASE NOTE: Due to a bug in DynamoRevit this currently only works for isometric view, not for perspective views.
Input(s): view3d (Elements.View3D)
Output(s): bool
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/View3D.IsLocked.dyf
Sample file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/package_samples/1.x/dynamo/Revit.Views.ViewSheetSet.dyn
ViewSheetSet.Views
Retrieves all the views/sheets in a given view/sheet set.
Input(s): viewsSheetSet
Output(s): views
Contains Python code!
Link to file: https://github.com/andydandy74/ClockworkForDynamo/tree/master/nodes/1.x/ViewSheetSet.Views.dyf