-
Notifications
You must be signed in to change notification settings - Fork 635
API Changes in Dynamo 2.16.0
aparajit-pratap edited this page Sep 29, 2022
·
4 revisions
- This release brings in new methods while deprecating older ones.
⚠️ Dynamo 2.16 requires ASM version228.5
minimum to function. Support for ASM277 - 228.4
is dropped.-
Curve.Offset
has been deprecated and replaced withCurve.OffsetMany
-
PolyCurve.Offset
has been deprecated and replaced withPolyCurve.OffsetMany
-
Curve.TrimSegmentsByParameter(double[] parameters)
has been deprecated and replaced withCurve.TrimSegmentsByParameter(double[] parameters, bool discardEvenSegments)
⚠️ PolyCurve.ByJoinedCurves(IEnumerable<Curve> curves, double joinTolerance = 0.001)
has been deprecated and replaced withPolyCurve.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 withPolyCurve.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 asPolyCurve.Points
-
Surface.TrimWithEdgeLoops(IEnumerable<PolyCurve> loops)
has been deprecated and replaced withSurface.TrimWithEdgeLoops(IEnumerable<PolyCurve> loops, double tolerance)
-
Geometry.ImportFromSAT(FileInfo file)
has been deprecated and replaced withGeometry.ImportFromSAT(FileInfo file, double mmPerUnit)
-
Geometry.ImportFromSAT(string filePath)
has been deprecated and replaced withGeometry.ImportFromSAT(string filePath, double mmPerUnit)
-
Geometry.DeserializeFromSAB(byte[] buffer)
has been deprecated and replaced withGeometry.DeserializeFromSAB(byte[] buffer, double mmPerUnit)
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