-
Notifications
You must be signed in to change notification settings - Fork 665
API Changes in Dynamo 1.0
Martin Misol Monzo edited this page Jun 9, 2020
·
1 revision
-
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.Runtimenamespace 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.Interfacesnamespace areIRenderPackage,IGraphicItem,IGraphicDataProviderandTessellationParameters. All the other interfaces defined inAutodesk.DesignScript.Interfaceshave been made internal or removed and they are no longer supported. - If your application used
IExtensionApplicationinterface fromAutodesk.DesignScript.Interfacesnamespace or related interfaces, then it is recomended to useDynamo.Events.ExecutionEventsandDynamo.Events.WorkspaceEventsclass to get execution specific notifications as well as session parameters.
- Attributes defined in
- ExecutionEvents and WorkspaceEvents have been moved to
Dynamo.Eventsnamespace from earlierDynamoServicesnamespace.- The
ExecutionStateHandlerdelegate is modified to pass session objects of typeIExecutionSessiondefined inDynamo.Sessionnamespace. Hence theGraphPreExecutionandGraphPostExecutionevents onExecutionEventsclass are impacted with this change.
- The
- Changes made to
CoreNodeModels.DynamoDropDownItem-
CoreNodeModels.DynamoDropDowBase.PopulateItemsis no longer avirtualmethod, custom population logic should now be implemented inCoreNodeModels.DynamoDropDownBase.PopulateItemsCoremethod instead.
-
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