Skip to content

API Changes in Dynamo 2.16.0

aparajit-pratap edited this page Sep 29, 2022 · 4 revisions

Protogeometry

  • This release brings in new methods while deprecating older ones.
  • ⚠️ Dynamo 2.16 requires ASM version 228.5 minimum to function. Support for ASM 277 - 228.4 is dropped.
  • Curve.Offset has been deprecated and replaced with Curve.OffsetMany
  • PolyCurve.Offset has been deprecated and replaced with PolyCurve.OffsetMany
  • Curve.TrimSegmentsByParameter(double[] parameters) has been deprecated and replaced with Curve.TrimSegmentsByParameter(double[] parameters, bool discardEvenSegments)
  • ⚠️PolyCurve.ByJoinedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001) has been deprecated and replaced with PolyCurve.ByJoinedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001, bool trimCurves = false, double trimLength = 0.0) - Note that this change will not impact older graphs but is an API breaking change and can prompt recompilation of code using the deprecated API if it's called supplying only the first argument.
  • ⚠️PolyCurve.ByGroupedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001) has been deprecated and replaced with PolyCurve.ByGroupedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001, bool trimCurves = false, double trimLength = 0.0) - Note that this change will not impact older graphs but is an API breaking change and can prompt recompilation of code using the deprecated API if it's called supplying only the first argument.
  • Polygon.Points property has been moved to the base class as PolyCurve.Points
  • Surface.TrimWithEdgeLoops(IEnumerable<PolyCurve> loops) has been deprecated and replaced with Surface.TrimWithEdgeLoops(IEnumerable<PolyCurve> loops, double tolerance)
  • Geometry.ImportFromSAT(FileInfo file) has been deprecated and replaced with Geometry.ImportFromSAT(FileInfo file, double mmPerUnit)
  • Geometry.ImportFromSAT(string filePath) has been deprecated and replaced with Geometry.ImportFromSAT(string filePath, double mmPerUnit)
  • Geometry.DeserializeFromSAB(byte[] buffer) has been deprecated and replaced with Geometry.DeserializeFromSAB(byte[] buffer, double mmPerUnit)

Releases

Roadmap

How To

Dynamo Internals

Contributing

Python3 Upgrade Work

Libraries

FAQs

API and Dynamo Nodes

Clone this wiki locally