-
Notifications
You must be signed in to change notification settings - Fork 635
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.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 areIRenderPackage
,IGraphicItem
,IGraphicDataProvider
andTessellationParameters
. All the other interfaces defined inAutodesk.DesignScript.Interfaces
have been made internal or removed and they are no longer supported. - If your application used
IExtensionApplication
interface fromAutodesk.DesignScript.Interfaces
namespace or related interfaces, then it is recomended to useDynamo.Events.ExecutionEvents
andDynamo.Events.WorkspaceEvents
class to get execution specific notifications as well as session parameters.
- Attributes defined in
- ExecutionEvents and WorkspaceEvents have been moved to
Dynamo.Events
namespace from earlierDynamoServices
namespace.- The
ExecutionStateHandler
delegate is modified to pass session objects of typeIExecutionSession
defined inDynamo.Session
namespace. Hence theGraphPreExecution
andGraphPostExecution
events onExecutionEvents
class are impacted with this change.
- The
- Changes made to
CoreNodeModels.DynamoDropDownItem
-
CoreNodeModels.DynamoDropDowBase.PopulateItems
is no longer avirtual
method, custom population logic should now be implemented inCoreNodeModels.DynamoDropDownBase.PopulateItemsCore
method 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