Skip to content

Dynamo Node Changes

aparajit-pratap edited this page Dec 7, 2018 · 18 revisions

This document highlights changes made to node names and their parameters.

1.3.4 & 2.0.2

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)

2.0.0

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.

1.1.0

- 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) - Use Curve.Join(Curve[] curves) instead
  • Surface.Join(Surface otherSurface) - Use Surface.Join(Surface[] surfaces) instead
  • BoundingBox.ByGeometry(Geometry geometry) - Use BoundingBox.ByGeometry(Geometry[] geometry) instead
  • Surface.ByLoft(Curve[] crossSections, Curve guideCurve) - Use Surface.ByLoft(Curve[] crossSections, Curve[] guideCurves) instead
  • Solid.ByLoft(Curve[] crossSections, Curve guideCurve) - Use Solid.ByLoft(Curve[] crossSections, Curve[] guideCurves) instead
  • Geometry.ExportToSAT(Geometry geometry, string filePath) - Use Geometry.ExportToSAT(Geometry[] geometry, string filePath) instead
  • Geometry.ExportToSAT(string filePath, double unitsMM) - Use Geometry.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 use Solid.ByUnion(Solid[] solids)

1.0.0

- 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 now Vector.AngleWithVector(otherVector)

  • Vector.AngleBetween(otherVector, rotationAxis) is now Vector.AngleAboutAxis(otherVector,rotationAxis)

  • EllipseArc.ByPlaneRadiiStartAngleSweepAngle is now EllipseArc.ByPlaneRadiiAngles

  • Curve.ParameterSplit(parameter) is now Curve.SplitByParameter(parameter)

  • Curve.ParameterSplit(parameter[]) is now Curve.SplitByParameter(parameter[])

  • Curve.PointAtDistance is now Curve.PointAtSegmentLength

  • Curve.ParameterAtDistance is now Curve.ParameterAtSegmentLength

  • Curve.PlaneAtDistance is now Curve.PlaneAtSegmentLength

  • Curve.DistanceAtParameter is now Curve.SegmentLengthAtParameter

  • Curve.CoordinateSystemAtDistance is now Curve.CoordinateSystemAtSegmentLength

  • Curve.LengthBetweenParameters is now Curve.SegmentLengthBetweenParameters

  • Curve.ParameterTrim is now Curve.TrimByParameter

  • Curve.ParameterTrimStart is now Curve.TrimByStartParameter

  • Curve.ParameterTrimEnd is now Curve.TrimByEndParameter

  • Curve.ParameterTrimInterior is now Curve.TrimInteriorByParameter

  • Curve.ParameterTrimSegments is now Curve.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 (Use PointsAtEqualSegmentLength and SplitByPoints)
  • DivideByDistance (Use PointsAtEqualChordLength and SplitByPoints)
  • DivideByLengthFromParameter (Use PointsAtSegmentLengthFromPoint and SplitByPoints)
  • DivideByDistanceFromParameter (Use PointsAtChordLengthFromPoint and SplitByPoints)
Clone this wiki locally
You can’t perform that action at this time.