-
Notifications
You must be signed in to change notification settings - Fork 667
API Changes
This document details changes to the Dynamo API.
- Dynamo Core
- Libraries
-
Workspaces
You can also take a look at documentation of the Dynamo API with a searchable index of public API calls for core functionality. This will be expanded to include regular nodes and Revit functionality.
DynamoPackagesWpf.dll is added to Dynamo 2.0 to facilitate view extensions.
DesignscriptBuiltin.dll is added to Dynamo 2.0 and contains Dictionary methods.
-
VisitIdentifierNode(),VisitIdentifierListNode()new returnsbool.
-
IsBackgroundPreviewActiveinPreferenceSettings.csis obsolete now. Please useBackgroundPreviews. -
IPreviewBubblePreferenceis removed. -
IBackGroundPreviewPreferenceis removed. -
BackgroundPreviewsis added toIPreferencesinterface. -
ShowPreviewBubblesis added toIPreferencesinterface. -
GetIsBackGroundPreviewActive(string)is added toIPreferencesinterface.
-
CreationNameproperty added toCustomNodeSearchElement.cs. This returns a name using which this node can be created -
FullNameproperty inNodeSearchElement.csisvirtual propertynow.
-
DefaultValueStringproperty added toTypedParameter.cs. Use this to get string representation of AST node -
Dynamo.Library.TypedParameter.ToCommentNameStringreplacesToNameString. -
Dynamo.Library.TypedParameterconstructor is changed to take an optional summary string.
-
NodeCommands.ValidateConnectionsCommandhas been removed. -
DynamoModel.DynamoReadyevent is added. -
DynamoPreferencesDataclass is added toDynamoModel.cs. This class contains the extra Dynamo-specific preferences data -
RequestWorkspaceBackUpSaveevent added toDynamoModel.cs. This event occurs when a workspace is scheduled to be saved to a backup file -
WorkspaceOpeningevent inDynamoModel.cstakesobjectinstead ofXMLElement. -
HostVersionandHostNameproperties added toDynamoModel.cs.
-
PythonTemplateFilePathproperty is added toPathManager.cs -
CustomNodeManager(..)hasLibraryServices libraryServicesas an option. ex:CustomNodeManager(NodeFactory nodeFactory, MigrationManager migrationManager, LibraryServices libraryServices) -
TryGetCustomNodeData(..),CreateCustomNodeInstance(..)are added toCustomNodeManager.cs
- The property
NodeMigrationAttribute.Tohas been removed. - The property
NodeMigrationAttribute.Fromhas been renamed toNodeMigrationAttribute.Version.
-
ExtensionLoader.ExtensionLoadingevent was added. -
Dynamo.Extensions.IExtensionSourcewas added - this interface backs objects which can load other extensions. -
Dynamo.Extensions.ReadyParams.StartupParamswas added. -
ExtensionManager classhas new methods -RegisterService(), UnregisterService(), GetService(..)
- The
LibraryServices.GetFunctionDescriptormethod has been made public. -
CompilationServices(..)takesLibraryServicesinstead ofProtoCore.Core. -
IsLacingDisabledproperty added toFunctionDescriptor.cs. -
GetFunctionDescriptor(..is added toLibraryServices.cs. -
GetPriorNames()added toLibraryServices.cs. This returns a dictionary of old names vs. new names for node migration -
GetAllFunctionDescriptors()added toLibraryServices.cs. This returns a list of function descriptors associated with the function name.
-
Dynamo.Graph.SaveContext.Nonewas added. -
UndoRedoRecorder.RecordModelAsOffTrack(Guid)was removed.
-
Workspace: -
XandY,Zoom,Height,WidthonWorkspaceModelhave been made obsolete and should be retrieved via theWorkspaceViewModelinstead as these are view properties. -
XandYandZoomonNodeModelhave been made obsolete and should be retrieved via theNodeViewModelinstead as these are view properties. -
CanUndoandCanRedoremoved fromWorkspaceModel.cs -
The
DynamoModel.AddWorkspacemethod has been made public. -
A new constructor was added for
WorkspaceInfoto facilitate deserialization. -
A new constructor is added for
HomeWorkspaceModelto facilitate deserialization. -
The
DSFunction.FunctionNameproperty is added to facilitate serialization. -
The
VariableInputNode.VariableInputPortsproperty is added to facilitate serialization. -
Converter classes are added to support serialization and deserialization.
-
Some method parameters have changed names to align with the properties which they set internally. This facilitates deserialization.
-
The
Function.IsCustomNodeandFunction.FunctionUuidproperties have been added to facilitate serialization. -
WorkspaceModel.savenow returns void. -
constructor
HomeWorkspaceModel(...)added toHomeWorkspaceModel.cs -
SerializationExtensions.csclass is added to facilitate serializing a WorkspaceModel to json -
UndoRedo.csclass is added toWorkspaceModel. -
WorkspaceInfo(..)constructor added toWorkspaceInfo.cs. -
ScaleFactorproperty added toWorkspaceInfo.cs. -
ExtraWorkspaceViewInfo,ExtraNodeViewInfoExtraNoteViewInfo,ExtraAnnotationViewInfoclass added toWorkspaceModel.cs. This is a Non view-specific container for additional view information required to fully construct a WorkspaceModel from JSON -
Dependenciesproperty is added toWorkspaceModel.cs. This gathers the direct workspace dependencies of this workspace -
Annotationsis obsolete inWorkspaceModel.cs. please use Annotations on the WorkspaceViewModel. -
FromJson(...)added toWorkspaceModel.cs. This loads a WorkspaceModel from json -
UpdateWithExtraWorkspaceViewInfo(..)method added toWorkspaceModel.cs. This Updates a workspace model with extra view information -
DeleteModel(..),CreateModel(..),ReloadModel(..),GetModelForElement(..)GetModelInternal(..)methods removed from `WorkspaceModel.cs. -
SerializationExtensions classhas been added to provide theWorkspaceModel.ToJson(...)extension method -
DynamoModel.SaveWorkspaceis removed. UseWorkspaceModel.Saveinstead. -
WorkspaceModel.WorkspaceSavedevent is nowWorkspaceModel.Saved
NodeModel:
-
NodeModel.HasInput(...)has been removed. UsePortModel.IsConnectedinstead. -
NodeModel.ValidateConnections()has been removed. -
NodeModel.RegisterInputPorts()is nowNodeModel.RegisterInputPorts(IEnumerable<PortData> portDatas). ButNodeModel.RegisterInputPortsis deprecated. Please use theInPortNamesAttribute,InPortDescriptionsAttribute, andInPortTypesAttributeinstead. -
NodeModel.RegisterOutputPorts()is nowNodeModel.RegisterOutputPorts(IEnumerable<PortData> portDatas). ButNodeModel.RegisterOutputPorts()is deprecated. Please use theOutPortNamesAttribute,OutPortDescriptionsAttribute, andOutPortTypesAttributeinstead. -
NodeModel.AddPort(...)has been removed. Ports can now be added usingNodeModel.InPorts.Add(...)andNodeModel.OutPorts.Add(...) -
The
PortModel.Dataproperty has been removed. -
The
PortModel.ToolTipContentproperty is nowPortModel.ToolTip. -
PortModel.DefaultValueEnabledhas been removed. Please usePortModel.DefaultValue == nullto check whether a port has a default value. -
NodeInputData.csclass is added to Nodes. -
NodeOutputData.csclass is added to Nodes. -
NodeOutPutTypesenum is added for supported output data types. -
Statement.GetDefinedVariableNameshas a boolean parameter removed. -
Variable.NameWithIndexwas added. -
IsUpstreamVisible,OverrideNameWithNickNameare removed fromNodeModel.cs.DictionaryLinkproperty added toNodeModel.cs. -
SetNickNameFromAttribute()changed toSetNameFromNodeNameAttribute()inNodeModel.cs. -
ClearRuntimeError()changed toClearErrorsAndWarnings()inNodeModel.cs. -
ValidateConnections()is removed fromNodeModel.cs. -
PortNameproperty is nowNameproperty inPortModel.cs. -
ToolTipContentproperty is nowToolTipinPortModel.cs. -
ShouldKeepListStructureis nowKeepListStructureinPortModel.cs. -
IsOutPutNodeandIsSetAsOutputare added toNodeModel -
OutputDatais added toNodeModel
Other Models:
-
Many properties now include attributes from Json.net.
-
AnnotationModelhas been made Obsolete should be retrieved via theWorkspaceViewModelinstead. -
AnnotationModel.SelectedModelsis changed toAnnotationModel.Nodes -
PresetModelhas been made obsolete. -
TextMaxWidthproperty is added toAnnotationModel.cs -
ConnectorModel(PortModel start, PortModel end, Guid guid)constructor is added toConnectorModel.cs. -
ShouldSerializeX()andShouldSerializeY()added toModelBase.cs.Guidproperty inModelBase.csis now virtual. -
UpdatePortsForUnresolved(..)method added toFunction.cs. constructorSymbol(IEnumerable<PortModel> inPorts, IEnumerable<PortModel> outPorts, TypedParameter parameter)andOutput(IEnumerable<PortModel> inPorts, IEnumerable<PortModel> outPorts)added toFunction.cs -
constructor
DummyNode(..)added toDummyNode.cs. This function creates DummyNode with specified number of ports -
OriginalNodeContentinDummyNode.csreturnsobjectinstead ofXMLElement. -
NickNameis changed toNameinFunctionCallNodeController.cs. -
FunctionSignatureproperty is added toDSFunction.csandDSVarArgFunction.cs. Also,DSVarArgFunction.cshasFunctionTypeproperty added. -
LayoutExtensions.csclass is added to Workspaces. This contains methods for organizing graphs. -
NodeReadConverter,WorkspaceReadConverter,WorkspaceWriteConverter,DummyNodeWriteConverter,ConnectorConverter,IdToGuidConverter,TypedParameterConverter,IdReferenceResolverare added to the new classSerializationConverters.cs. -
CodeBlockNodeModel.TempVariablesandIsTempIdentiferare removed. -
CodeBlockNodeModel.LoadAndCreateConnectorssignature has changed to accept aSaveContextparameter. -
Dynamo.Updates.IHostManagerfolded intoIUpdateManager.
-
Dynamo.Models.DynamoModeladdedIStartConfiguration2derived fromIStartConfiguration. It contains a single propertyIsHeadless. If the object passed toDynamoModel.Startis derived from this new interface, and theIsHeadlessproperty istrue, then update checking and analytics are disabled. This interface should be merged withIStartConfigurationin 2.0 -
Dynamo.Interfaces.IPreviewBubblePreferenceis added, this interface defines a single bool representing if preview bubbles should be on or off. This interface should be merged withIPreferencesin 2.0 -
Dynamo.Interfaces.IBackgroundPreviewPreferenceis added, this interface defines settings about different background previews. This interface should be merged withIPreferencesin 2.0 -
PreferenceSettingsnow also implementsIPreviewBubblePreferenceandIBackgroundPreviewPreference -
Dynamo.Wpf.ViewModels.Watch3D.IWatchPreferencePropertiesis added which defines a background preview name used to store the background preview state (on or off) for background preview preferences. -
DefaultWatch3DViewModelnow also implementsIWatchPreferenceProperties
-
Dynamo.Visualization- The
Dynamo.Renderingnamespace has been replaced withDynamo.Visualization -
Dynamo.DefaultRenderPackageFactoryis nowDynamo.Visualization.DefaultRenderPackageFactory -
Dynamo.Interfaces.IRenderpackageFactoryis nowDynamo.Visualization.IRenderPackageFactory -
Dynamo.Interfaces.IRenderPackageSourceis nowDynamo.Visualization.IRenderPackageSource
- The
-
Dynamo.Configuration-
Dynamo.UI.Configurationsis nowDynamo.Configuration.Configurations -
Dynamo.Core.DebugSettingsis nowDynamo.Configuration.DebugSettings -
Dynamo.Core.PathManagerParamsis nowDynamo.Configuration.PathManagerParams -
Dynamo.Core.PathManageris nowDynamo.Configuration.PathManager -
Dynamo.Core.Contextis nowDynamo.Configuration.Context -
Dynamo.Interfaces.IPathResolveris nowDynamo.Configuration.IPathResolver -
Dynamo.Interfaces.IPathManageris nowDynamo.Configuration.IPathManager -
Dynamo.Interfaces.IPreferencesis nowDynamo.Configuration.IPreferences -
Dynamo.PreferenceSettingsis nowDynamo.Configuration.PreferenceSettings
-
-
Dynamo.Logging-
net.reversofdata.dhlogger.Logis nowDynamo.Logging.Log -
Dynamo.Core.DynamoLoggeris nowDynamo.Logging.DynamoLogger -
Dynamo.Interfaces.ILogis nowDynamo.Logging.ILog -
Dynamo.Interfaces.Iloggeris nowDynamo.Logging.ILogger -
Dynamo.Services.Heartbeatis nowDynamo.Logging.Hearbeat -
Dynamo.Services.InstrumentationLoggeris nowDynamo.Logging.InstrumentationLogger -
Dynamo.Services.StabilityTrackingis nowDynamo.Logging.StabilityTracking
-
-
Dynamo.Graph-
Dynamo.Core.NodeGraphis nowDynamo.Graph.NodeGraph -
Dynamo.Models.ModelBaseis nowDynamo.Graph.ModelBase -
Dynamo.Graph.Annotations-
Dynamo.Models.AnnotationModelis nowDynamo.Graph.Annotations.AnnotationModel
-
-
Dynamo.Graph.Connectors-
Dynamo.Models.ConnectorModelis nowDynamo.Graph.Connectors.ConnectorModel
-
-
Dynamo.Graph.Nodes-
Dynamo.Graph.Nodes.CustomNodes-
Dynamo.Nodes.CustomNodes.CustomNodeControlleris nowDynamo.Graph.Nodes.CustomNodes.CustomNodeController -
Dynamo.Nodes.CustomNodes.Functionis nowDynamo.Graph.Nodes.CustomNodes.Function -
Dynamo.Interfaces.ICustomNodeManageris nowDynamo.Graph.Nodes.CustomNodes.ICustomNodeManager -
Dynamo.Interfaces.ICustomNodeSourceis nowDynamo.Graph.Nodes.CustomNodes.ICustomNodeSource
-
-
Dynamo.Graph.Nodes.NodeLoaders-
Dynamo.Models.NodeLoaders.CodeBlockNodeLoaderis nowDynamo.Graph.Nodes.NodeLoaders.CodeBlockNodeLoader -
Dynamo.Models.NodeLoaders.CustomNodeLoaderis nowDynamo.Graph.Nodes.NodeLoaders.CustomNodeLoader -
Dynamo.Models.NodeLoaders.InputNodeLoaderis nowDynamo.Graph.Nodes.NodeLoaders.InputNodeLoader -
Dynamo.Models.NodeLoaders.CustomNodeLoaderis nowDynamo.Graph.Nodes.NodeLoaders.CustomNodeLoader -
Dynamo.Models.NodeFactoryis nowDynamo.Graph.Nodes.NodeLoaders.NodeFactory -
Dynamo.Models.NodeLoaders.ZeroTouchNodeLoaderis nowDynamo.Graph.Nodes.NodeLoaders.ZeroTouchNodeLoader
-
-
Dynamo.Graph.Nodes.ZeroTouch-
Dynamo.Nodes.ZeroTouch.DSFunctionis nowDynamo.Graph.Nodes.ZeroTouch.DSFunction -
Dynamo.Nodes.ZeroTouch.DSFunctionBaseis nowDynamo.Graph.Nodes.ZeroTouch.DSFunctionBase -
Dynamo.Nodes.ZeroTouch.DSVarArgFunctionis nowDynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction -
Dynamo.Nodes.ZeroTouch.UnresolvedFunctionExceptionis nowDynamo.Graph.Nodes.ZeroTouch.UnresolvedFunctionException
-
-
Dynamo.Nodes.NodeNameAttributeis nowDynamo.Graph.Nodes.NodeNameAttribute -
Dynamo.Nodes.NodeCategoryAttributeis nowDynamo.Graph.Nodes.NodeCategoryAttribute -
Dynamo.Nodes.NodeSearchTagsAttributeis nowDynamo.Graph.Nodes.NodeSearchTagsAttribute -
Dynamo.Nodes.NotSearchableInHomeWorkspaceis nowDynamo.Graph.Nodes.NotSearchableInHomeWorkspace -
Dynamo.Nodes.NotSearchableInCustomNodeWorkspaceis nowDynamo.Graph.Nodes.NotSearchableInCustomNodeWorkspace -
Dynamo.Nodes.IsInteractiveAttributeis nowDynamo.Graph.Nodes.IsInteractiveAttribute -
Dynamo.Nodes.NodeDescriptionAttributeis nowDynamo.Graph.Nodes.NodeDescriptionAttribute -
Dynamo.Nodes.NodeSearchableAttributeis nowDynamo.Graph.Nodes.NodeSearchableAttribute -
Dynamo.Nodes.NodeTypeIdAttributeis nowDynamo.Graph.Nodes.NodeTypeIdAttribute -
Dynamo.Nodes.DoNotLoadOnPlatformsAttributeis nowDynamo.Graph.Nodes.DoNotLoadOnPlatformsAttribute -
Dynamo.Nodes.NodeDeprecatedAttributeis nowDynamo.Graph.Nodes.NodeDeprecatedAttribute -
Dynamo.Nodes.AlsoKnownAsAttributeis nowDynamo.Graph.Nodes.AlsoKnownAsAttribute -
Dynamo.Nodes.IsMetaNodeAttributeis nowDynamo.Graph.Nodes.IsMetaNodeAttribute -
Dynamo.Nodes.IsDesignScriptCompatibleAttributeis nowDynamo.Graph.Nodes.IsDesignScriptCompatibleAttribute -
Dynamo.Nodes.NodeObsoleteAttributeis nowDynamo.Graph.Nodes.NodeObsoleteAttribute -
Dynamo.Nodes.InPortNamesAttributeis nowDynamo.Graph.Nodes.InPortNamesAttribute -
Dynamo.Nodes.InPortDescriptionsAttributeis nowDynamo.Graph.Nodes.InPortDescriptionsAttribute -
Dynamo.Nodes.InPortTypesAttributeis nowDynamo.Graph.Nodes.InPortTypesAttribute -
Dynamo.Nodes.OutPortNamesAttributeis nowDynamo.Graph.Nodes.OutPortNamesAttribute -
Dynamo.Nodes.OutPortDescriptionsAttributeis nowDynamo.Graph.Nodes.OutPortDescriptionsAttribute -
Dynamo.Nodes.OutPortTypesAttributeis nowDynamo.Graph.Nodes.OutPortTypesAttribute -
Dynamo.Nodes.CodeBlockNodeModelis nowDynamo.Graph.Nodes.CodeBlockNodeModel -
Dynamo.Nodes.CodeBlockUtilsis nowDynamo.Graph.Nodes.CodeBlockUtils -
Dynamo.Nodes.DummyNodeis nowDynamo.Graph.Nodes.DummyNode -
Dynamo.Nodes.FunctionCallBaseis nowDynamo.Graph.Nodes.FunctionCallBase -
Dynamo.Nodes.FunctionCallNodeControlleris nowDynamo.Graph.Nodes.FunctionCallNodeController -
Dynamo.Nodes.BuiltinNodeCategoriesis nowDynamo.Graph.Nodes.BuiltinNodeCategories -
Dynamo.Models.NodeModelis nowDynamo.Graph.Nodes.NodeModel -
Dynamo.Nodes.NodeModelExtensionis nowDynamo.Graph.Nodes.NodeModelExtension -
Dynamo.Models.PortModelis nowDynamo.Graph.Nodes.PortModel -
Dynamo.Models.ScopedNodeModelis nowDynamo.Graph.Nodes.ScopedNodeModel -
Dynamo.Models.TypeLoadDatais nowDynamo.Graph.Nodes.TypeLoadData -
Dynamo.Nodes.VariableInputNodeis nowDynamo.Graph.Nodes.VariableInputNode -
Dynamo.Nodes.VariableInputNodeControlleris nowDynamo.Graph.Nodes.VariableInputNodeController -
Dynamo.Graph.Notes-
Dynamo.Models.NoteModelis nowDynamo.Graph.Notes.NoteModel
-
-
Dynamo.Graph.Presets-
Dynamo.Models.PresetModelis nowDynamo.Graph.Presets.PresetModel
-
-
Dynamo.Graph.Workspaces-
Dynamo.Model.CustomNodeWorkspaceModelis nowDynamo.Graph.Workspaces.CustomNodeWorkspaceModel -
Dynamo.Model.HomeWorkspaceModelis nowDynamo.Graph.Workspaces.HomeWorkspaceModel -
Dynamo.Interfaces.ICustomNodeWorkspaceModelis nowDynamo.Graph.Workspaces.ICustomNodeWorkspaceModel -
Dynamo.Model.IWorkspaceModelis nowDynamo.Graph.Workspaces.IWorkspaceModel -
Dynamo.Model.WorkspaceInfois nowDynamo.Graph.Workspaces.WorkspaceInfo -
Dynamo.Model.WorkspaceModelis nowDynamo.Graph.Workspaces.WorkspaceModel
-
-
-
-
Dynamo.Serviceshas been removed. -
Dynamo.Search-
Dynamo.Interfaces.ISourceis nowDynamo.Search.ISource -
Dynamo.Search.SearchElementGroupis nowDynamo.Search.SearchElements.SearchElementsGroup -
Dynamo.Search.Interfaces.ISearchEntryis nowDynamo.Search.ISearchEntry -
Dynamo.Search.Interfaces.ISearchCategoryis nowDynamo.Search.ISearchCategory
-
-
Dynamo.Updates-
Dynamo.UpdateManageris nowDynamo.Updates -
Dynamo.UpdateManager.UpdateDownloadedEventArgsis nowDynamo.Updates.UpdateDownloadedEventArgs -
Dynamo.UpdateManager.IUpdateManageris nowDynamo.Updates.IUpdateManager -
Dynamo.UpdateManager.IDynamoLookupis nowDynamo.Updates.IDynamoLookup -
Dynamo.UpdateManager.IUpdateManagerConfigurationis nowDynamo.Updates.IUpdateManagerConfiguration -
Dynamo.UpdateManager.IAppVersionInfois nowDynamo.Updates.IAppVersionInfo -
Dynamo.UpdateManager.IAsynchronousRequestis nowDynamo.Updates.IAsynchronousRequest -
Dynamo.UpdateManager.AppVersionInfois nowDynamo.Updates.AppVersionInfo -
Dynamo.UpdateManager.UpdateRequestis nowDynamo.Updates.UpdateRequest -
Dynamo.UpdateManager.UpdateManagerConfigurationis nowDynamo.Updates.UpdateManagerConfiguration -
Dynamo.UpdateManager.UpdateManageris nowDynamo.Updates.UpdateManager -
Dynamo.UpdateManager.DynamoLookUpis nowDynamo.Updates. DynamoLookUp -
Dynamo.UpdateManager.BinaryVersionis nowDynamo.Updates.BinaryVersion
-
- All node attributes,
NodeNameAttribute,NodeCategoryAttribute,NodeSearchTagAttribute..., have been moved from theDynamo.Modelsnamespace to theDynamo.Nodesnamespace. This namespace will change again in the next release.
-
DynamoView.LibraryCollapsedis added. -
DynamoView.GetUniqueAddOnCategoriesis added. -
ShowHideConsoleMenuConverteris removed. -
SHowHidePreviewBubblesConverteris removed. -
DefaultWatchHandler.ProcessandProcessThingnow accept a new parameter - a preferred Dictionary ordering of keys names. -
IWatchHandlerinterface is updated with new process signature. -
GenerateWatchViewModelForData()is updated with new signature accepting preferred ordering of keys. -
WatchHandlerCallbackinvokeandbeginInvokeupdated with new signature accepting preferred ordering of keys. -
DynamoViewModel.TogglePreviewBubbleShowingCommandis removed. -
NodeViewModel.IsOuputis added. -
NodeViewModel.IsSetAsOutputis added. -
Dynamo.Wpf.Extensions.IViewExtensionSourceis added. -
Dynamo.Wpf.Extensions.ViewExtensionLoader.ExtensionLoadingevent is added. -
Dynamo.wpf.Extensions.ViewLoadedParams.ViewStartupParamsis added. -
Dynamo.Wpf.ViewModels.Watch3d.CameraData.Equalsis added. -
Dynamo.Wpf.ViewModesl.Watch3d.IWatchPreferencePropertiesfolded intoDynamo.Wpf.ViewModels.Watch3d.IWatch3dViewModel.PreferenceWatchName.
- The Workspaces assembly is added with methods for serializing and deserializing WorkspaceModel objects to json.
-
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
- The
ITransformableinterface has been introduced, this interface can be applied to a render package implemenation to provide users of those render packages with the ability to transform their geometry inside the visualization pipeline. For example,HelixRenderPackgeas part of Dynamo Studio can make use of Transforms that a node author sets duringtessellation. Note: this API is still in development and is a new addition post Dynamo 1.0, currently it requires using reflection to make sure it exists to avoid breaking backward compatibility with Dynamo 1.0. see this entry for more information: here
- 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
- Public default constructors have been added for
CombinatorNodetypes to facilitate serialization.
- Changes made to
CoreNodeModels.DynamoDropDownItem-
CoreNodeModels.DynamoDropDowBase.PopulateItemsis no longer avirtualmethod, custom population logic should now be implemented inCoreNodeModels.DynamoDropDownBase.PopulateItemsCoremethod instead.
-
- DSCoreNodesUI assembly is renamed to CoreNodeModels. All namespaces are renamed correspondingly
- The
DSCoreNodesUInamespace has been renamed toCoreNodeModels:-
DSCoreNodesUI.ColorRangeis nowCoreNodeModels.ColorRange -
DSCoreNodesUI.CreateListis nowCoreNodeModels.CreateList -
DSCoreNodesUI.DynamoDropDownItemis nowCoreNodeModels.DynamoDropDownItem -
DSCoreNodesUI.DSDropDownBaseis nowCoreNodeModels.DSDropDownBase -
DSCoreNodesUI.DynamoConvertis nowCoreNodeModels.DynamoConvert -
DSCoreNodesUI.EnumAsInt<T>is nowCoreNodeModels.EnumAsInt<T> -
DSCoreNodesUI.EnumAsString<T>is nowCoreNodeModels.EnumAsString<T> -
DSCoreNodesUI.EnumBase<T>is nowCoreNodeModels.EnumBase<T> -
DSCoreNodesUI.AllChildrenOfType<T>is nowCoreNodeModels.AllChildrenOfType<T> -
DSCoreNodesUI.Formulais nowCoreNodeModels.Formula -
DSCoreNodesUI.SelectionTypeis nowCoreNodeModels.SelectionType -
DSCoreNodesUI.SelectionObjectTypeis nowCoreNodeModels.SelectionObjectType -
DSCoreNodesUI.IModelSelectionHelper<out T>is nowCoreNodeModels.IModelSelectionHelper<out T> -
DSCoreNodesUI.Rangeis nowCoreNodeModels.Range -
DSCoreNodesUI.Sequenceis nowCoreNodeModels.Sequence -
DSCoreNodesUI.ElementsSelectionDelegateis nowCoreNodeModels.ElementsSelectionDelegate -
DSCoreNodesUI.SelectionBase<TSelection, TResult>is nowCoreNodeModels.SelectionBase<TSelection, TResult> -
DSCoreNodesUI.ToStringNodeBaseis nowCoreNodeModels.ToStringNodeBase -
DSCoreNodesUI.FromObjectis nowCoreNodeModels.FromObject -
DSCoreNodesUI.FromArrayis nowCoreNodeModels.FromArray -
DSCoreNodesUI.Watchis nowCoreNodeModels.Watch -
DSCoreNodesUI.WatchImageCoreis nowCoreNodeModels.WatchImageCore -
DSCoreNodesUI.WebRequestis nowCoreNodeModels.WebRequest
-
- The
DSCoreNodesUI.HigherOrdernamespace has been renamed toCoreNodeModels.HigherOrder:-
DSCoreNodesUI.HigherOrder.ApplyFunctionis nowCoreNodeModels.HigherOrder.ApplyFunction -
DSCoreNodesUI.HigherOrder.ComposeFunctionsis nowCoreNodeModels.HigherOrder.ComposeFunctions -
DSCoreNodesUI.HigherOrder.Mapis nowCoreNodeModels.HigherOrder.Map -
DSCoreNodesUI.HigherOrder.CombinatorNodeis nowCoreNodeModels.HigherOrder.CombinatorNode -
DSCoreNodesUI.HigherOrder.Combineis nowCoreNodeModels.HigherOrder.Combine -
DSCoreNodesUI.HigherOrder.ForEachis nowCoreNodeModels.HigherOrder.ForEach -
DSCoreNodesUI.HigherOrder.LaceShortestis nowCoreNodeModels.HigherOrder.LaceShortest -
DSCoreNodesUI.HigherOrder.LaceLongestis nowCoreNodeModels.HigherOrder.LaceLongest -
DSCoreNodesUI.HigherOrder.CartesianProductis nowCoreNodeModels.HigherOrder.CartesianProduct -
DSCoreNodesUI.HigherOrder.Reduceis nowCoreNodeModels.HigherOrder.Reduce -
DSCoreNodesUI.HigherOrder.ScanListis nowCoreNodeModels.HigherOrder.ScanList -
DSCoreNodesUI.HigherOrder.Filteris nowCoreNodeModels.HigherOrder.Filter -
DSCoreNodesUI.HigherOrder.Replaceis nowCoreNodeModels.HigherOrder.Replace
-
- The
DSCoreNodesUI.Inputnamespace has been renamed toCoreNodeModels.Input:-
DSCoreNodesUI.Input.StringInputis nowCoreNodeModels.Input.StringInput -
DSCoreNodesUI.Input.ConversionDelegateis nowCoreNodeModels.Input.ConversionDelegate -
DSCoreNodesUI.Input.DoubleInputis nowCoreNodeModels.Input.DoubleInput -
DSCoreNodesUI.Input.BasicInteractive<T>is nowCoreNodeModels.Input.BasicInteractive<T> -
DSCoreNodesUI.Input.Boolis nowCoreNodeModels.Input.Bool -
DSCoreNodesUI.Input.BoolSelectoris nowCoreNodeModels.Input.BoolSelector -
DSCoreNodesUI.Input.DateTimeis nowCoreNodeModels.Input.DateTime -
DSCoreNodesUI.Input.Doubleis nowCoreNodeModels.Input.Double -
DSCoreNodesUI.Input.DoubleSlideris nowCoreNodeModels.Input.DoubleSlider -
DSCoreNodesUI.Input.FileSystemBrowseris nowCoreNodeModels.Input.FileSystemBrowser -
DSCoreNodesUI.Input.Filenameis nowCoreNodeModels.Input.Filename -
DSCoreNodesUI.Input.Directoryis nowCoreNodeModels.Input.Directory -
DSCoreNodesUI.Input.FileSystemObject<T>is nowCoreNodeModels.Input.FileSystemObject<T> -
DSCoreNodesUI.Input.FileObjectis nowCoreNodeModels.Input.FileObject -
DSCoreNodesUI.Input.DirectoryObjectis nowCoreNodeModels.Input.DirectoryObject -
DSCoreNodesUI.Input.Integeris nowCoreNodeModels.Input.Integer -
DSCoreNodesUI.Input.IntegerSlideris nowCoreNodeModels.Input.IntegerSlider -
DSCoreNodesUI.Input.SliderBase<T>is nowCoreNodeModels.Input.SliderBase<T> -
DSCoreNodesUI.Input.Stringis nowCoreNodeModels.Input.String
-
- The
DSCoreNodesUI.Logicnamespace has been renamed toCoreNodeModels.Logic:-
DSCoreNodesUI.Logic.BinaryLogicis nowCoreNodeModels.Logic.BinaryLogic -
DSCoreNodesUI.Logic.Andis nowCoreNodeModels.Logic.And -
DSCoreNodesUI.Logic.Oris nowCoreNodeModels.Logic.Or -
DSCoreNodesUI.Logic.Ifis nowCoreNodeModels.Logic.If -
DSCoreNodesUI.Logic.ScopedIfis nowCoreNodeModels.Logic.ScopedIf
-
- The
- All classes in CoreNodeModelsWpf in Dynamo.Wpf moved to CoreNodeModelsWpf namespace
- The
Dynamo.Wpfnamespace has been removed toCoreNodeModelsWpf-
Dynamo.Wpf.DoubleSliderSettingsControlis nowCoreNodeModelsWpf.DoubleSliderSettingsControl -
Dynamo.Wpf.ElementSelectionControlis nowCoreNodeModelsWpf.ElementSelectionControl -
Dynamo.Wpf.IntegerSliderSettingsControlis nowCoreNodeModelsWpf.IntegerSliderSettingsControl -
Dynamo.Wpf.ConverterViewModelis nowCoreNodeModelsWpf.ConverterViewModel -
Dynamo.Wpf.SliderViewModel<T>is nowCoreNodeModelsWpf.SliderViewModel<T>
-
- The
Dynamo.Wpf.Controlsnamespace has been removed toCoreNodeModelsWpf.Controls-
Dynamo.Wpf.Controls.DateTimeInputControlis nowCoreNodeModelsWpf.Controls.DateTimeInputControl -
Dynamo.Wpf.Controls.DynamoConverterControlis nowCoreNodeModelsWpf.Controls.DynamoConverterControl -
Dynamo.Wpf.Controls.DynamoSlideris nowCoreNodeModelsWpf.Controls.DynamoSlider
-
- The
Dynamo.Wpf.Convertersnamespace has been removed toCoreNodeModelsWpf.Converters-
Dynamo.Wpf.Converters.SelectionButtonContentConverteris nowCoreNodeModelsWpf.SelectionButtonContentConverter -
Dynamo.Wpf.Converters.StringToDateTimeConverteris nowCoreNodeModelsWpf.Converters.StringToDateTimeConverter
-
- The
Dynamo.Wpf.Nodesnamespace has been removed toCoreNodeModelsWpf.Nodes-
Dynamo.Wpf.Nodes.BoolSelectorNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.BoolSelectorNodeViewCustomization -
Dynamo.Wpf.Nodes.ColorRangeNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.ColorRangeNodeViewCustomization -
Dynamo.Wpf.Nodes.CreateListNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.CreateListNodeViewCustomization -
Dynamo.Wpf.Nodes.DirectoryNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.DirectoryNodeViewCustomization -
Dynamo.Wpf.Nodes.DoubleInputNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.DoubleInputNodeViewCustomization -
Dynamo.Wpf.Nodes.DropDownNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.DropDownNodeViewCustomization -
Dynamo.Wpf.Nodes.DummyNodeNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.DummyNodeNodeViewCustomization -
Dynamo.Wpf.Nodes.FormulaNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.FormulaNodeViewCustomization -
Dynamo.Wpf.Nodes.SelectionBaseNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.SelectionBaseNodeViewCustomization -
Dynamo.Wpf.Nodes.StringInputNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.StringInputNodeViewCustomization -
Dynamo.Wpf.Nodes.WatchNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.WatchNodeViewCustomization -
Dynamo.Wpf.Nodes.WatchImageNodeViewCustomizationis nowCoreNodeModelsWpf.Nodes.WatchImageNodeViewCustomization
-
- The
Dynamo.Wpf.NodeViewCustomizationsnamespace has been removed toCoreNodeModelsWpf.NodeViewCustomizations-
Dynamo.Wpf.NodeViewCustomizations.ConverterNodeViewCustomizationis nowCoreNodeModelsWpf.NodeViewCustomizations.ConverterNodeViewCustomization -
Dynamo.Wpf.NodeViewCustomizations.DateTimeNodeViewCustomizationis nowCoreNodeModelsWpf.NodeViewCustomizations.DateTimeNodeViewCustomization -
Dynamo.Wpf.NodeViewCustomizations.DoubleSliderNodeViewCustomizationis nowCoreNodeModelsWpf.NodeViewCustomizations.DoubleSliderNodeViewCustomization -
Dynamo.Wpf.NodeViewCustomizations.IntegerSliderNodeViewCustomizationis nowCoreNodeModelsWpf.NodeViewCustomizations.IntegerSliderNodeViewCustomization
-
- The
-
PythonNodeModelsWpf.ScriptEditorWindownow requires three arguments
-
DSIronPythonNode.PythonNodeBaseis nowPythonNodeModels.PythonNodeBase -
DSIronPythonNode.PythonNodeis nowPythonNodeModels.PythonNode -
DSIronPythonNode.PythonStringNodeis nowPythonNodeModels.PythonStringNode. -
DSIronPythonNode.PythonNodeViewCustomizationis nowPythonNodeModelsWpf.PythonNodeViewCustomization -
DSIronPythonNode.ScriptEditorWindowis nowPythonNodeModelsWpf.ScriptEditorWindow
- Public constructors have been added to
MeasurementInputBaseto facilitate serialization.
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