-
Notifications
You must be signed in to change notification settings - Fork 632
Dynamo Node Changes
This document highlights changes made to node names and their parameters.
The following T-Splines geometry nodes have been deprecated and are no longer available in the node library. They will continue to work if opened from older graphs or used in code block nodes, however, it is recommended to use the following new nodes instead.
Note: The new TSplineSurface.BuildPipes
node has a few new inputs however these inputs will be ignored in order to guarantee the same behavior as the deprecated node with the exception of ASM version 224.4 (which is used in Revit 2019.2). The new inputs will take effect in the new node when running Dynamo with ASM 224.4/Revit 2019.2 and upwards.
The new TSplineSurface.CreateMatch
nodes have just a single scale
parameter that serves as a tangent scale for G1 and curvature scale for G2 continuity
. It is ignored if continuity is G0.
The following nodes have been deprecated:
TSplineSurface BuildPipes(Curve[] curves, double defaultRadius, double snappingTolerance,
int[] segmentsCount, double[] endRotations, double[] endRadii, double[] endPercentage,
bool inSmoothMode)
TSplineSurface CreateMatch(TSplineEdge[] tsEdges, Curve[] curves, int continuity,
bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance,
bool usePropagation, double widthOfPropagation, double tangentScale, double curvParamWeight,
bool flipSourceTargetAlignment)
TSplineSurface CreateMatch(TSplineEdge[] tsEdges, Edge[] brepEdges, int continuity,
bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance,
bool usePropagation, double widthOfPropagation, double tangentScale, double curvParamWeight,
bool flipSourceTargetAlignment)
in favor of:
TSplineSurface BuildPipes(Curve[] curves, double defaultRadius, double snappingTolerance,
int[] segmentsCount, bool autoHandleStart, bool autoHandleEnd, double[] startRotations,
double[] endRotations, double[] startRadii, double[] endRadii, double[] startPositions,
double[] endPositions, bool inSmoothMode)
TSplineSurface CreateMatch(TSplineEdge[] tsEdges, Curve[] curves, int continuity,
bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance,
bool usePropagation, double widthOfPropagation, double scale, bool flipSourceTargetAlignment)
TSplineSurface CreateMatch(TSplineEdge[] tsEdges, Edge[] brepEdges, int continuity,
bool useArclength, bool useRefinement, int numRefinementSteps, double refinementTolerance,
bool usePropagation, double widthOfPropagation, double scale, bool flipSourceTargetAlignment)
Dynamo 2.0 doesn't support methods overloads that differs only in parameter ranks. Now, the first overload found will be used. That is why we have audited all OOTB nodes wherever possible in Dynamo (including Dynamo_Revit nodes) and removed all lower ranking methods. The reason is that if a lower ranking overload is used with a higher ranking input, replication will take place and the lower ranking overload will be called multiple times. This is obviously not the desired outcome and can be overcome by always using the higher ranking overload.
The following Dynamo-Revit overloads have been removed:
Form ByLoftCrossSections(ElementCurveReference[], Boolean)
Form ByLoftCrossSections(Element[], Boolean)
Form ByLoftCrossSections(Curve[], Boolean)
in favor of:
Form ByLoftCrossSections(ElementCurveReference[][], Boolean)
Form ByLoftCrossSections(Element[][], Boolean)
Form ByLoftCrossSections(Curve[][], Boolean)
respectively.
- Geometry
Nodes removed:
The following nodes have been removed from the geometry library. Older files using these nodes will automatically migrate to equivalent overloads without any change in behavior. These methods when used in C# code will continue to work but will throw compilation warnings saying they are deprecated:
-
Curve.Join(Curve curve)
- UseCurve.Join(Curve[] curves)
instead -
Surface.Join(Surface otherSurface)
- UseSurface.Join(Surface[] surfaces)
instead -
BoundingBox.ByGeometry(Geometry geometry)
- UseBoundingBox.ByGeometry(Geometry[] geometry)
instead -
Surface.ByLoft(Curve[] crossSections, Curve guideCurve)
- UseSurface.ByLoft(Curve[] crossSections, Curve[] guideCurves)
instead -
Solid.ByLoft(Curve[] crossSections, Curve guideCurve)
- UseSolid.ByLoft(Curve[] crossSections, Curve[] guideCurves)
instead -
Geometry.ExportToSAT(Geometry geometry, string filePath)
- UseGeometry.ExportToSAT(Geometry[] geometry, string filePath)
instead -
Geometry.ExportToSAT(string filePath, double unitsMM)
- UseGeometry.ExportToSAT
UI node instead
- Geometry
Deprecated nodes:
The following nodes have been deprecated and will show a warning when opened in Dynamo but will continue to work. They will throw a compilation warning when compiled in C# code:
-
Solid.UnionAll(Solid[] solids)
- Now useSolid.ByUnion(Solid[] solids)
- Geometry
Node name changes:
Note: Old files using these nodes will automatically migrate to the new node names. Code Block nodes using these methods will however break and will have to be edited manually to use the new method names.
-
Vector.AngleBetween(otherVector)
is nowVector.AngleWithVector(otherVector)
-
Vector.AngleBetween(otherVector, rotationAxis)
is nowVector.AngleAboutAxis(otherVector,rotationAxis)
-
EllipseArc.ByPlaneRadiiStartAngleSweepAngle
is nowEllipseArc.ByPlaneRadiiAngles
-
Curve.ParameterSplit(parameter)
is nowCurve.SplitByParameter(parameter)
-
Curve.ParameterSplit(parameter[])
is nowCurve.SplitByParameter(parameter[])
-
Curve.PointAtDistance
is nowCurve.PointAtSegmentLength
-
Curve.ParameterAtDistance
is nowCurve.ParameterAtSegmentLength
-
Curve.PlaneAtDistance
is nowCurve.PlaneAtSegmentLength
-
Curve.DistanceAtParameter
is nowCurve.SegmentLengthAtParameter
-
Curve.CoordinateSystemAtDistance
is nowCurve.CoordinateSystemAtSegmentLength
-
Curve.LengthBetweenParameters
is nowCurve.SegmentLengthBetweenParameters
-
Curve.ParameterTrim
is nowCurve.TrimByParameter
-
Curve.ParameterTrimStart
is nowCurve.TrimByStartParameter
-
Curve.ParameterTrimEnd
is nowCurve.TrimByEndParameter
-
Curve.ParameterTrimInterior
is nowCurve.TrimInteriorByParameter
-
Curve.ParameterTrimSegments
is nowCurve.TrimSegmentsByParameter
- Geometry
Deprecated nodes:
Note: Old files using these nodes will continue to work. Use the alternative methods shown here, in sequence for equivalent functionality.
-
DivideEqually
(UsePointsAtEqualSegmentLength
andSplitByPoints
) -
DivideByDistance
(UsePointsAtEqualChordLength
andSplitByPoints
) -
DivideByLengthFromParameter
(UsePointsAtSegmentLengthFromPoint
andSplitByPoints
) -
DivideByDistanceFromParameter
(UsePointsAtChordLengthFromPoint
andSplitByPoints
)
Looking for help with using the Dynamo application? Try dynamobim.org.
- Dynamo 2.0 Language Changes Explained
- How Replication and Replication Guide work: Part 1
- How Replication and Replication Guide work: Part 2
- How Replication and Replication Guide work: Part 3