Skip to content

API changes in Dynamo 2.13

Jorgen Dahl edited this page Dec 15, 2021 · 12 revisions

DynamoCoreWPF

Many WPF controls which are no longer used are removed. In general, the WPF controls in DynamoCoreWPF should not be included in the DynamoCore API. As the Dynamo UI changes controls may be modified or removed if required.

LibG

  • New method PolyCurve.ByGroupedCurves: Make one or more polycurves by grouping connected curves
  • New method PolyCurve.ByThickeningCurveNormal: Make PolyCurve by thickening a curve along a plane specified by the input normal. Replaces PolyCurve.ByThickeningCurve now deprecated.

ProtoCore

  • New method Utils.StringUtils.BreakTextIntoLInes: A reliable method for breaking text into lines
  • New method Utils.StringUtils.IsStringSpacesWithTabs: Check if string is null or only white spaces and tabs
  • New method Utils.StringUtils.SpaceToTabConversion: Replace spaces with tabs.
  • New method Utils.StringUtils.TabToSpaceConversion: Replace tabs with spaces.
  • New method ProtoFFI.CLRModuleType.FFIMethodAttributes: Replaces an old version of this method now deprecated.

DynamoCore

  • New constructor Dynamo.Graph.Annotations.AnnotationModel.AnnotationModel: New constructor that also deals with groups.
  • New method Dynamo.Graph.Annotations.AnnotationModel.ContainsModel: Checks if the provided modelbase belongs to this group.
  • New method Dynamo.Graph.Nodes.NodeModel.SelectDownstreamNeighbours: Recursively selects all nodes downstream to this node.
  • New method Dynamo.Graph.Nodes.NodeModel.SelectDownstreamNeighbours: Recursively selects all nodes upstream to this node.
  • New method Dynamo.Graph.Nodes.NodeModel.SelectUpstreamAndDownstreamNeighbours: Recursively selects all nodes upstream and downstream to this node.
  • New method Dynamo.Graph.Notes.NoteModel.NoteModel: New constructor.

DynamoUtilities

  • New method DynamoUtilities.PathHelper.FileInfoAtPath: Checks if the file exists at the specified path and computes size.
  • New methid DynamoUtilities.PathHelper.GetFileSize: Computes the file size from the path

New Python Engine APIs

New APIs have been added to the "Dynamo.PythonServices" namespace, located in the DynamoServices assembly

Some of the highlights:

  • IronPython2 evaluator is no longer delivered as part of Dynamo. It is however available as a package on https://www.dynamopackages.com
  • Available python engines will be queryable through Dynamo.PythonServices.PythonEngineManager.Instance.AvailableEngines collection
  • API users can interact with each available python engine through the Dynamo.PythonServices.PythonEngine class.

BinaryChanges in DynamoCoreRuntime zip

removed binaries:

{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\CefSharp.BrowserSubprocess.Core.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\CefSharp.Core.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\CefSharp.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\CefSharp.Wpf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\chrome_elf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\d3dcompiler_47.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\DSIronPython.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\IronPython.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\IronPython.Modules.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\IronPython.SQLite.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\IronPython.Wpf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\IronPythonExtension.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libcef.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libEGL.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libGLESv2.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\LibraryViewExtension.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\Microsoft.Dynamic.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\Microsoft.Scripting.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\Microsoft.Scripting.Metadata.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\widevinecdmadapter.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\LibG.AsmPreloader.Managed.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\LibG.AsmPreloader.Unmanaged.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\LibG.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\LibG.Managed.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\LibG.ProtoInterface.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\LibGCore.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\libiconv.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_225_0_0\libintl.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\LibG.AsmPreloader.Managed.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\LibG.AsmPreloader.Unmanaged.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\LibG.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\LibG.Managed.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\LibG.ProtoInterface.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\LibGCore.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\libiconv.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_226_0_0\libintl.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\swiftshader\libEGL.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\swiftshader\libGLESv2.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\CefSharp.BrowserSubprocess.Core.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\CefSharp.Core.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\CefSharp.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\CefSharp.Wpf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\chrome_elf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\d3dcompiler_47.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\libcef.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\libEGL.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\libGLESv2.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\widevinecdmadapter.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\swiftshader\libEGL.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x64\swiftshader\libGLESv2.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\CefSharp.BrowserSubprocess.Core.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\CefSharp.Core.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\CefSharp.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\CefSharp.Wpf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\chrome_elf.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\d3dcompiler_47.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\libcef.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\libEGL.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\libGLESv2.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\widevinecdmadapter.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\swiftshader\libEGL.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\x86\swiftshader\libGLESv2.dll, Type: Assembly, ChangeType: Deleted, Description: N/A, Trace: N/A }

list does not include localized versions of binaries

added binaries:

{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\ForgeUnits.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\ForgeUnitsCLR.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\LibraryViewExtensionMSWebBrowser.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\PackageDetailsViewExtension.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\LibG.AsmPreloader.Managed.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\LibG.AsmPreloader.Unmanaged.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\LibG.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\LibG.Managed.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\LibG.ProtoInterface.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\LibGCore.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\libiconv.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }
{ Name: \DynamoVisualProgramming.DynamoCoreRuntime\lib\MASK\libg_228_0_0\libintl.dll, Type: Assembly, ChangeType: New, Description: N/A, Trace: N/A }

list does not include localized versions of binaries

Releases

Roadmap

How To

Dynamo Internals

Contributing

Python3 Upgrade Work

Libraries

FAQs

API and Dynamo Nodes

Clone this wiki locally