Skip to content

API Changes in Dynamo 4.0.0

Jason edited this page Oct 30, 2025 · 3 revisions
  • ModelBase.Serialize(XmlDocument, SaveContext) method - No longer marked as obsolete
  • ModelBase.Deserialize(XmlElement, SaveContext) method - No longer marked as obsolete

The following code that was marked as obsolete has now been removed

  • IPreferences.IsBackgroundPreviewActive property - Use BackgroundPreviews collection instead
  • PreferenceSettings.IsBackgroundPreviewActive property - Use BackgroundPreviews collection instead

  • PackageManagerClient.PackageContainsBinariesConstant field - Package binary detection now uses the contains_binaries field from the database
  • PackageManagerClient.PackageContainsPythonScriptsConstant field - Package Python script detection now uses database fields

  • ProtoScript.Runners.HydrogenRunner class - Legacy runner no longer supported
  • ProtoScript.Runners.DeuteriumRunner class - Legacy runner no longer supported

  • Preloader.LibraryVersion enum - Use System.Version instead to specify geometry library versions
  • Preloader.Version property - Use Version2 property instead

  • FileSystem.ReadImage(string path, int xSamples, int ySamples) node - use File.FromPath -> Image.ReadFromFile -> Image.Pixels instead
  • FileSystem.LoadImageFromPath(string path) node - use File.FromPath -> Image.ReadFromFile instead
  • FileSystem.ReadText(string path) node - use File.FromPath -> File.ReadText instead
  • FileSystem.WriteImage(string filePath, string fileName, Bitmap image) node - use Image.WriteToFile instead
  • FileSystem.ExportToCSV(string filePath, object[][] data) node - use CSV.WriteToFile instead

  • String.FromObject(object obj) node - use "String from Object" instead

  • Excel.Read(string filePath, string sheetName) node - use File.FromPath -> Excel.ReadFromFile instead

  • All PointData nodes
  • All SurfaceData nodes
  • All VectorData nodes

Releases

Roadmap

How To

Dynamo Internals

Contributing

Python3 Upgrade Work

Libraries

FAQs

API and Dynamo Nodes

Clone this wiki locally