Skip to content

API Changes in Dynamo 1.0

Martin Misol Monzo edited this page Jun 9, 2020 · 1 revision

ProtoInterface

  • ProtoInterface.dll has been removed from Dynamo project and some of the common interfaces and Attributes defined inside ProtoInterface.dll are now moved to DynamoServices.dll. If your library/package was referencing ProtoInterface.dll then it is recommended to update the reference and re-compile your projects with DynamoServices.

    • Attributes defined in Autodesk.DesignScript.Runtime namespace such as [SupressImportIntoVM], [IsVisibleInDynamoLibrary(bool)] and [MultiReturn(params string[])] are now part of DynamoServices.dll
    • Graphics visualization related interface and class defined in Autodesk.DesignScript.Interfaces namespace are IRenderPackage, IGraphicItem, IGraphicDataProvider and TessellationParameters. All the other interfaces defined in Autodesk.DesignScript.Interfaces have been made internal or removed and they are no longer supported.
    • If your application used IExtensionApplication interface from Autodesk.DesignScript.Interfaces namespace or related interfaces, then it is recomended to use Dynamo.Events.ExecutionEvents and Dynamo.Events.WorkspaceEvents class to get execution specific notifications as well as session parameters.

DynamoServices

  • ExecutionEvents and WorkspaceEvents have been moved to Dynamo.Events namespace from earlier DynamoServices namespace.
    • The ExecutionStateHandler delegate is modified to pass session objects of type IExecutionSession defined in Dynamo.Session namespace. Hence the GraphPreExecution and GraphPostExecution events on ExecutionEvents class are impacted with this change.

CoreNodeModels

  • Changes made to CoreNodeModels.DynamoDropDownItem
    • CoreNodeModels.DynamoDropDowBase.PopulateItems is no longer a virtual method, custom population logic should now be implemented in CoreNodeModels.DynamoDropDownBase.PopulateItemsCore method instead.

Releases

Roadmap

How To

Dynamo Internals

Contributing

Python3 Upgrade Work

Libraries

FAQs

API and Dynamo Nodes

Clone this wiki locally