-
Notifications
You must be signed in to change notification settings - Fork 635
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
.
-
IsConnected
inPortModel.cs
is now public instead of internal
-
IsBackgroundPreviewActive
inPreferenceSettings.cs
is obsolete now. Please useBackgroundPreviews
. -
IPreviewBubblePreference
is removed. -
IBackGroundPreviewPreference
is removed. -
BackgroundPreviews
is added toIPreferences
interface. -
ShowPreviewBubbles
is added toIPreferences
interface. -
GetIsBackGroundPreviewActive(string)
is added toIPreferences
interface.
-
CreationName
property added toCustomNodeSearchElement.cs
. This returns a name using which this node can be created -
FullName
property inNodeSearchElement.cs
isvirtual property
now.
-
DefaultValueString
property added toTypedParameter.cs
. Use this to get string representation of AST node -
Dynamo.Library.TypedParameter.ToCommentNameString
replacesToNameString
. -
Dynamo.Library.TypedParameter
constructor is changed to take an optional summary string.
-
NodeCommands.ValidateConnectionsCommand
has been removed. -
DynamoModel.DynamoReady
event is added. -
DynamoPreferencesData
class is added toDynamoModel.cs
. This class contains the extra Dynamo-specific preferences data -
RequestWorkspaceBackUpSave
event added toDynamoModel.cs
. This event occurs when a workspace is scheduled to be saved to a backup file -
WorkspaceOpening
event inDynamoModel.cs
takesobject
instead ofXMLElement
. -
HostVersion
andHostName
properties added toDynamoModel.cs
.
-
PythonTemplateFilePath
property is added toPathManager.cs
-
CustomNodeManager(..)
hasLibraryServices libraryServices
as an option. ex:CustomNodeManager(NodeFactory nodeFactory, MigrationManager migrationManager, LibraryServices libraryServices)
-
TryGetCustomNodeData(..)
,CreateCustomNodeInstance(..)
are added toCustomNodeManager.cs
- The property
NodeMigrationAttribute.To
has been removed. - The property
NodeMigrationAttribute.From
has been renamed toNodeMigrationAttribute.Version
.
-
ExtensionLoader.ExtensionLoading
event was added. -
Dynamo.Extensions.IExtensionSource
was added - this interface backs objects which can load other extensions. -
Dynamo.Extensions.ReadyParams.StartupParams
was added. -
ExtensionManager class
has new methods -RegisterService(), UnregisterService(), GetService(..)
- The
LibraryServices.GetFunctionDescriptor
method has been made public. -
CompilationServices(..)
takesLibraryServices
instead ofProtoCore.Core
. -
IsLacingDisabled
property 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.None
was added. -
UndoRedoRecorder.RecordModelAsOffTrack(Guid)
was removed.
-
Workspace
: -
X
andY
,Zoom
,Height
,Width
onWorkspaceModel
have been made obsolete and should be retrieved via theWorkspaceViewModel
instead as these are view properties. -
X
andY
andZoom
onNodeModel
have been made obsolete and should be retrieved via theNodeViewModel
instead as these are view properties. -
CanUndo
andCanRedo
removed fromWorkspaceModel.cs
-
The
DynamoModel.AddWorkspace
method has been made public. -
A new constructor was added for
WorkspaceInfo
to facilitate deserialization. -
A new constructor is added for
HomeWorkspaceModel
to facilitate deserialization. -
The
DSFunction.FunctionName
property is added to facilitate serialization. -
The
VariableInputNode.VariableInputPorts
property 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.IsCustomNode
andFunction.FunctionUuid
properties have been added to facilitate serialization. -
WorkspaceModel.save
now returns void. -
constructor
HomeWorkspaceModel(...)
added toHomeWorkspaceModel.cs
-
SerializationExtensions.cs
class is added to facilitate serializing a WorkspaceModel to json -
UndoRedo.cs
class is added toWorkspaceModel
. -
WorkspaceInfo(..)
constructor added toWorkspaceInfo.cs
. -
ScaleFactor
property added toWorkspaceInfo.cs
. -
ExtraWorkspaceViewInfo
,ExtraNodeViewInfo
ExtraNoteViewInfo
,ExtraAnnotationViewInfo
class added toWorkspaceModel.cs
. This is a Non view-specific container for additional view information required to fully construct a WorkspaceModel from JSON -
Dependencies
property is added toWorkspaceModel.cs
. This gathers the direct workspace dependencies of this workspace -
Annotations
is 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 class
has been added to provide theWorkspaceModel.ToJson(...)
extension method -
DynamoModel.SaveWorkspace
is removed. UseWorkspaceModel.Save
instead. -
WorkspaceModel.WorkspaceSaved
event is nowWorkspaceModel.Saved
NodeModel
:
-
NodeModel.HasInput(...)
has been removed. UsePortModel.IsConnected
instead. -
NodeModel.ValidateConnections()
has been removed. -
NodeModel.RegisterInputPorts()
is nowNodeModel.RegisterInputPorts(IEnumerable<PortData> portDatas)
. ButNodeModel.RegisterInputPorts
is deprecated. Please use theInPortNamesAttribute
,InPortDescriptionsAttribute
, andInPortTypesAttribute
instead. -
NodeModel.RegisterOutputPorts()
is nowNodeModel.RegisterOutputPorts(IEnumerable<PortData> portDatas)
. ButNodeModel.RegisterOutputPorts()
is deprecated. Please use theOutPortNamesAttribute
,OutPortDescriptionsAttribute
, andOutPortTypesAttribute
instead. -
NodeModel.AddPort(...)
has been removed. Ports can now be added usingNodeModel.InPorts.Add(...)
andNodeModel.OutPorts.Add(...)
-
The
PortModel.Data
property has been removed. -
The
PortModel.ToolTipContent
property is nowPortModel.ToolTip
. -
PortModel.DefaultValueEnabled
has been removed. Please usePortModel.DefaultValue == null
to check whether a port has a default value. -
NodeInputData.cs
class is added to Nodes. -
NodeOutputData.cs
class is added to Nodes. -
NodeOutPutTypes
enum is added for supported output data types. -
Statement.GetDefinedVariableNames
has a boolean parameter removed. -
Variable.NameWithIndex
was added. -
IsUpstreamVisible
,OverrideNameWithNickName
are removed fromNodeModel.cs
.DictionaryLink
property added toNodeModel.cs
. -
SetNickNameFromAttribute()
changed toSetNameFromNodeNameAttribute()
inNodeModel.cs
. -
ClearRuntimeError()
changed toClearErrorsAndWarnings()
inNodeModel.cs
. -
ValidateConnections()
is removed fromNodeModel.cs
. -
PortName
property is nowName
property inPortModel.cs
. -
ToolTipContent
property is nowToolTip
inPortModel.cs
. -
ShouldKeepListStructure
is nowKeepListStructure
inPortModel.cs
. -
IsOutPutNode
andIsSetAsOutput
are added toNodeModel
-
OutputData
is added toNodeModel
Other Models
:
-
Many properties now include attributes from Json.net.
-
AnnotationModel
has been made Obsolete should be retrieved via theWorkspaceViewModel
instead. -
AnnotationModel.SelectedModels
is changed toAnnotationModel.Nodes
-
PresetModel
has been made obsolete. -
TextMaxWidth
property is added toAnnotationModel.cs
-
ConnectorModel(PortModel start, PortModel end, Guid guid)
constructor is added toConnectorModel.cs
. -
ShouldSerializeX()
andShouldSerializeY()
added toModelBase.cs
.Guid
property inModelBase.cs
is 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 -
OriginalNodeContent
inDummyNode.cs
returnsobject
instead ofXMLElement
. -
NickName
is changed toName
inFunctionCallNodeController.cs
. -
FunctionSignature
property is added toDSFunction.cs
andDSVarArgFunction.cs
. Also,DSVarArgFunction.cs
hasFunctionType
property added. -
LayoutExtensions.cs
class is added to Workspaces. This contains methods for organizing graphs. -
NodeReadConverter
,WorkspaceReadConverter
,WorkspaceWriteConverter
,DummyNodeWriteConverter
,ConnectorConverter
,IdToGuidConverter
,TypedParameterConverter
,IdReferenceResolver
are added to the new classSerializationConverters.cs
. -
CodeBlockNodeModel.TempVariables
andIsTempIdentifer
are removed. -
CodeBlockNodeModel.LoadAndCreateConnectors
signature has changed to accept aSaveContext
parameter. -
Dynamo.Updates.IHostManager
folded intoIUpdateManager
.
-
Dynamo.Models.DynamoModel
addedIStartConfiguration2
derived fromIStartConfiguration
. It contains a single propertyIsHeadless
. If the object passed toDynamoModel.Start
is derived from this new interface, and theIsHeadless
property istrue
, then update checking and analytics are disabled. This interface should be merged withIStartConfiguration
in 2.0 -
Dynamo.Interfaces.IPreviewBubblePreference
is added, this interface defines a single bool representing if preview bubbles should be on or off. This interface should be merged withIPreferences
in 2.0 -
Dynamo.Interfaces.IBackgroundPreviewPreference
is added, this interface defines settings about different background previews. This interface should be merged withIPreferences
in 2.0 -
PreferenceSettings
now also implementsIPreviewBubblePreference
andIBackgroundPreviewPreference
-
Dynamo.Wpf.ViewModels.Watch3D.IWatchPreferenceProperties
is added which defines a background preview name used to store the background preview state (on or off) for background preview preferences. -
DefaultWatch3DViewModel
now also implementsIWatchPreferenceProperties
-
Dynamo.Visualization
- The
Dynamo.Rendering
namespace has been replaced withDynamo.Visualization
-
Dynamo.DefaultRenderPackageFactory
is nowDynamo.Visualization.DefaultRenderPackageFactory
-
Dynamo.Interfaces.IRenderpackageFactory
is nowDynamo.Visualization.IRenderPackageFactory
-
Dynamo.Interfaces.IRenderPackageSource
is nowDynamo.Visualization.IRenderPackageSource
- The
-
Dynamo.Configuration
-
Dynamo.UI.Configurations
is nowDynamo.Configuration.Configurations
-
Dynamo.Core.DebugSettings
is nowDynamo.Configuration.DebugSettings
-
Dynamo.Core.PathManagerParams
is nowDynamo.Configuration.PathManagerParams
-
Dynamo.Core.PathManager
is nowDynamo.Configuration.PathManager
-
Dynamo.Core.Context
is nowDynamo.Configuration.Context
-
Dynamo.Interfaces.IPathResolver
is nowDynamo.Configuration.IPathResolver
-
Dynamo.Interfaces.IPathManager
is nowDynamo.Configuration.IPathManager
-
Dynamo.Interfaces.IPreferences
is nowDynamo.Configuration.IPreferences
-
Dynamo.PreferenceSettings
is nowDynamo.Configuration.PreferenceSettings
-
-
Dynamo.Logging
-
net.reversofdata.dhlogger.Log
is nowDynamo.Logging.Log
-
Dynamo.Core.DynamoLogger
is nowDynamo.Logging.DynamoLogger
-
Dynamo.Interfaces.ILog
is nowDynamo.Logging.ILog
-
Dynamo.Interfaces.Ilogger
is nowDynamo.Logging.ILogger
-
Dynamo.Services.Heartbeat
is nowDynamo.Logging.Hearbeat
-
Dynamo.Services.InstrumentationLogger
is nowDynamo.Logging.InstrumentationLogger
-
Dynamo.Services.StabilityTracking
is nowDynamo.Logging.StabilityTracking
-
-
Dynamo.Graph
-
Dynamo.Core.NodeGraph
is nowDynamo.Graph.NodeGraph
-
Dynamo.Models.ModelBase
is nowDynamo.Graph.ModelBase
-
Dynamo.Graph.Annotations
-
Dynamo.Models.AnnotationModel
is nowDynamo.Graph.Annotations.AnnotationModel
-
-
Dynamo.Graph.Connectors
-
Dynamo.Models.ConnectorModel
is nowDynamo.Graph.Connectors.ConnectorModel
-
-
Dynamo.Graph.Nodes
-
Dynamo.Graph.Nodes.CustomNodes
-
Dynamo.Nodes.CustomNodes.CustomNodeController
is nowDynamo.Graph.Nodes.CustomNodes.CustomNodeController
-
Dynamo.Nodes.CustomNodes.Function
is nowDynamo.Graph.Nodes.CustomNodes.Function
-
Dynamo.Interfaces.ICustomNodeManager
is nowDynamo.Graph.Nodes.CustomNodes.ICustomNodeManager
-
Dynamo.Interfaces.ICustomNodeSource
is nowDynamo.Graph.Nodes.CustomNodes.ICustomNodeSource
-
-
Dynamo.Graph.Nodes.NodeLoaders
-
Dynamo.Models.NodeLoaders.CodeBlockNodeLoader
is nowDynamo.Graph.Nodes.NodeLoaders.CodeBlockNodeLoader
-
Dynamo.Models.NodeLoaders.CustomNodeLoader
is nowDynamo.Graph.Nodes.NodeLoaders.CustomNodeLoader
-
Dynamo.Models.NodeLoaders.InputNodeLoader
is nowDynamo.Graph.Nodes.NodeLoaders.InputNodeLoader
-
Dynamo.Models.NodeLoaders.CustomNodeLoader
is nowDynamo.Graph.Nodes.NodeLoaders.CustomNodeLoader
-
Dynamo.Models.NodeFactory
is nowDynamo.Graph.Nodes.NodeLoaders.NodeFactory
-
Dynamo.Models.NodeLoaders.ZeroTouchNodeLoader
is nowDynamo.Graph.Nodes.NodeLoaders.ZeroTouchNodeLoader
-
-
Dynamo.Graph.Nodes.ZeroTouch
-
Dynamo.Nodes.ZeroTouch.DSFunction
is nowDynamo.Graph.Nodes.ZeroTouch.DSFunction
-
Dynamo.Nodes.ZeroTouch.DSFunctionBase
is nowDynamo.Graph.Nodes.ZeroTouch.DSFunctionBase
-
Dynamo.Nodes.ZeroTouch.DSVarArgFunction
is nowDynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction
-
Dynamo.Nodes.ZeroTouch.UnresolvedFunctionException
is nowDynamo.Graph.Nodes.ZeroTouch.UnresolvedFunctionException
-
-
Dynamo.Nodes.NodeNameAttribute
is nowDynamo.Graph.Nodes.NodeNameAttribute
-
Dynamo.Nodes.NodeCategoryAttribute
is nowDynamo.Graph.Nodes.NodeCategoryAttribute
-
Dynamo.Nodes.NodeSearchTagsAttribute
is nowDynamo.Graph.Nodes.NodeSearchTagsAttribute
-
Dynamo.Nodes.NotSearchableInHomeWorkspace
is nowDynamo.Graph.Nodes.NotSearchableInHomeWorkspace
-
Dynamo.Nodes.NotSearchableInCustomNodeWorkspace
is nowDynamo.Graph.Nodes.NotSearchableInCustomNodeWorkspace
-
Dynamo.Nodes.IsInteractiveAttribute
is nowDynamo.Graph.Nodes.IsInteractiveAttribute
-
Dynamo.Nodes.NodeDescriptionAttribute
is nowDynamo.Graph.Nodes.NodeDescriptionAttribute
-
Dynamo.Nodes.NodeSearchableAttribute
is nowDynamo.Graph.Nodes.NodeSearchableAttribute
-
Dynamo.Nodes.NodeTypeIdAttribute
is nowDynamo.Graph.Nodes.NodeTypeIdAttribute
-
Dynamo.Nodes.DoNotLoadOnPlatformsAttribute
is nowDynamo.Graph.Nodes.DoNotLoadOnPlatformsAttribute
-
Dynamo.Nodes.NodeDeprecatedAttribute
is nowDynamo.Graph.Nodes.NodeDeprecatedAttribute
-
Dynamo.Nodes.AlsoKnownAsAttribute
is nowDynamo.Graph.Nodes.AlsoKnownAsAttribute
-
Dynamo.Nodes.IsMetaNodeAttribute
is nowDynamo.Graph.Nodes.IsMetaNodeAttribute
-
Dynamo.Nodes.IsDesignScriptCompatibleAttribute
is nowDynamo.Graph.Nodes.IsDesignScriptCompatibleAttribute
-
Dynamo.Nodes.NodeObsoleteAttribute
is nowDynamo.Graph.Nodes.NodeObsoleteAttribute
-
Dynamo.Nodes.InPortNamesAttribute
is nowDynamo.Graph.Nodes.InPortNamesAttribute
-
Dynamo.Nodes.InPortDescriptionsAttribute
is nowDynamo.Graph.Nodes.InPortDescriptionsAttribute
-
Dynamo.Nodes.InPortTypesAttribute
is nowDynamo.Graph.Nodes.InPortTypesAttribute
-
Dynamo.Nodes.OutPortNamesAttribute
is nowDynamo.Graph.Nodes.OutPortNamesAttribute
-
Dynamo.Nodes.OutPortDescriptionsAttribute
is nowDynamo.Graph.Nodes.OutPortDescriptionsAttribute
-
Dynamo.Nodes.OutPortTypesAttribute
is nowDynamo.Graph.Nodes.OutPortTypesAttribute
-
Dynamo.Nodes.CodeBlockNodeModel
is nowDynamo.Graph.Nodes.CodeBlockNodeModel
-
Dynamo.Nodes.CodeBlockUtils
is nowDynamo.Graph.Nodes.CodeBlockUtils
-
Dynamo.Nodes.DummyNode
is nowDynamo.Graph.Nodes.DummyNode
-
Dynamo.Nodes.FunctionCallBase
is nowDynamo.Graph.Nodes.FunctionCallBase
-
Dynamo.Nodes.FunctionCallNodeController
is nowDynamo.Graph.Nodes.FunctionCallNodeController
-
Dynamo.Nodes.BuiltinNodeCategories
is nowDynamo.Graph.Nodes.BuiltinNodeCategories
-
Dynamo.Models.NodeModel
is nowDynamo.Graph.Nodes.NodeModel
-
Dynamo.Nodes.NodeModelExtension
is nowDynamo.Graph.Nodes.NodeModelExtension
-
Dynamo.Models.PortModel
is nowDynamo.Graph.Nodes.PortModel
-
Dynamo.Models.ScopedNodeModel
is nowDynamo.Graph.Nodes.ScopedNodeModel
-
Dynamo.Models.TypeLoadData
is nowDynamo.Graph.Nodes.TypeLoadData
-
Dynamo.Nodes.VariableInputNode
is nowDynamo.Graph.Nodes.VariableInputNode
-
Dynamo.Nodes.VariableInputNodeController
is nowDynamo.Graph.Nodes.VariableInputNodeController
-
Dynamo.Graph.Notes
-
Dynamo.Models.NoteModel
is nowDynamo.Graph.Notes.NoteModel
-
-
Dynamo.Graph.Presets
-
Dynamo.Models.PresetModel
is nowDynamo.Graph.Presets.PresetModel
-
-
Dynamo.Graph.Workspaces
-
Dynamo.Model.CustomNodeWorkspaceModel
is nowDynamo.Graph.Workspaces.CustomNodeWorkspaceModel
-
Dynamo.Model.HomeWorkspaceModel
is nowDynamo.Graph.Workspaces.HomeWorkspaceModel
-
Dynamo.Interfaces.ICustomNodeWorkspaceModel
is nowDynamo.Graph.Workspaces.ICustomNodeWorkspaceModel
-
Dynamo.Model.IWorkspaceModel
is nowDynamo.Graph.Workspaces.IWorkspaceModel
-
Dynamo.Model.WorkspaceInfo
is nowDynamo.Graph.Workspaces.WorkspaceInfo
-
Dynamo.Model.WorkspaceModel
is nowDynamo.Graph.Workspaces.WorkspaceModel
-
-
-
-
Dynamo.Services
has been removed. -
Dynamo.Search
-
Dynamo.Interfaces.ISource
is nowDynamo.Search.ISource
-
Dynamo.Search.SearchElementGroup
is nowDynamo.Search.SearchElements.SearchElementsGroup
-
Dynamo.Search.Interfaces.ISearchEntry
is nowDynamo.Search.ISearchEntry
-
Dynamo.Search.Interfaces.ISearchCategory
is nowDynamo.Search.ISearchCategory
-
-
Dynamo.Updates
-
Dynamo.UpdateManager
is nowDynamo.Updates
-
Dynamo.UpdateManager.UpdateDownloadedEventArgs
is nowDynamo.Updates.UpdateDownloadedEventArgs
-
Dynamo.UpdateManager.IUpdateManager
is nowDynamo.Updates.IUpdateManager
-
Dynamo.UpdateManager.IDynamoLookup
is nowDynamo.Updates.IDynamoLookup
-
Dynamo.UpdateManager.IUpdateManagerConfiguration
is nowDynamo.Updates.IUpdateManagerConfiguration
-
Dynamo.UpdateManager.IAppVersionInfo
is nowDynamo.Updates.IAppVersionInfo
-
Dynamo.UpdateManager.IAsynchronousRequest
is nowDynamo.Updates.IAsynchronousRequest
-
Dynamo.UpdateManager.AppVersionInfo
is nowDynamo.Updates.AppVersionInfo
-
Dynamo.UpdateManager.UpdateRequest
is nowDynamo.Updates.UpdateRequest
-
Dynamo.UpdateManager.UpdateManagerConfiguration
is nowDynamo.Updates.UpdateManagerConfiguration
-
Dynamo.UpdateManager.UpdateManager
is nowDynamo.Updates.UpdateManager
-
Dynamo.UpdateManager.DynamoLookUp
is nowDynamo.Updates. DynamoLookUp
-
Dynamo.UpdateManager.BinaryVersion
is nowDynamo.Updates.BinaryVersion
-
- All node attributes,
NodeNameAttribute
,NodeCategoryAttribute
,NodeSearchTagAttribute
..., have been moved from theDynamo.Models
namespace to theDynamo.Nodes
namespace. This namespace will change again in the next release.
-
DynamoView.LibraryCollapsed
is added. -
DynamoView.GetUniqueAddOnCategories
is added. -
ShowHideConsoleMenuConverter
is removed. -
SHowHidePreviewBubblesConverter
is removed. -
DefaultWatchHandler.Process
andProcessThing
now accept a new parameter - a preferred Dictionary ordering of keys names. -
IWatchHandler
interface is updated with new process signature. -
GenerateWatchViewModelForData()
is updated with new signature accepting preferred ordering of keys. -
WatchHandlerCallback
invoke
andbeginInvoke
updated with new signature accepting preferred ordering of keys. -
DynamoViewModel.TogglePreviewBubbleShowingCommand
is removed. -
NodeViewModel.IsOuput
is added. -
NodeViewModel.IsSetAsOutput
is added. -
Dynamo.Wpf.Extensions.IViewExtensionSource
is added. -
Dynamo.Wpf.Extensions.ViewExtensionLoader.ExtensionLoading
event is added. -
Dynamo.wpf.Extensions.ViewLoadedParams.ViewStartupParams
is added. -
Dynamo.Wpf.ViewModels.Watch3d.CameraData.Equals
is added. -
Dynamo.Wpf.ViewModesl.Watch3d.IWatchPreferenceProperties
folded intoDynamo.Wpf.ViewModels.Watch3d.IWatch3dViewModel.PreferenceWatchName
.
-
DynamoViewModel.OpenIfSaveCommand
is added, which wraps aDynamoModel.OpenFileCommand
but requests a save check and dialog - class
ShowHidePreviewBubblesConverter
, methodTogglePreviewBubblesShowing
, DelegateCommandTogglePreviewBubblesShowingCommand
are obsolete
- 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.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
- The
ITransformable
interface 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,HelixRenderPackge
as 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.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
- Public default constructors have been added for
CombinatorNode
types to facilitate serialization.
- 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.
-
- DSCoreNodesUI assembly is renamed to CoreNodeModels. All namespaces are renamed correspondingly
- The
DSCoreNodesUI
namespace has been renamed toCoreNodeModels
:-
DSCoreNodesUI.ColorRange
is nowCoreNodeModels.ColorRange
-
DSCoreNodesUI.CreateList
is nowCoreNodeModels.CreateList
-
DSCoreNodesUI.DynamoDropDownItem
is nowCoreNodeModels.DynamoDropDownItem
-
DSCoreNodesUI.DSDropDownBase
is nowCoreNodeModels.DSDropDownBase
-
DSCoreNodesUI.DynamoConvert
is 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.Formula
is nowCoreNodeModels.Formula
-
DSCoreNodesUI.SelectionType
is nowCoreNodeModels.SelectionType
-
DSCoreNodesUI.SelectionObjectType
is nowCoreNodeModels.SelectionObjectType
-
DSCoreNodesUI.IModelSelectionHelper<out T>
is nowCoreNodeModels.IModelSelectionHelper<out T>
-
DSCoreNodesUI.Range
is nowCoreNodeModels.Range
-
DSCoreNodesUI.Sequence
is nowCoreNodeModels.Sequence
-
DSCoreNodesUI.ElementsSelectionDelegate
is nowCoreNodeModels.ElementsSelectionDelegate
-
DSCoreNodesUI.SelectionBase<TSelection, TResult>
is nowCoreNodeModels.SelectionBase<TSelection, TResult>
-
DSCoreNodesUI.ToStringNodeBase
is nowCoreNodeModels.ToStringNodeBase
-
DSCoreNodesUI.FromObject
is nowCoreNodeModels.FromObject
-
DSCoreNodesUI.FromArray
is nowCoreNodeModels.FromArray
-
DSCoreNodesUI.Watch
is nowCoreNodeModels.Watch
-
DSCoreNodesUI.WatchImageCore
is nowCoreNodeModels.WatchImageCore
-
DSCoreNodesUI.WebRequest
is nowCoreNodeModels.WebRequest
-
- The
DSCoreNodesUI.HigherOrder
namespace has been renamed toCoreNodeModels.HigherOrder
:-
DSCoreNodesUI.HigherOrder.ApplyFunction
is nowCoreNodeModels.HigherOrder.ApplyFunction
-
DSCoreNodesUI.HigherOrder.ComposeFunctions
is nowCoreNodeModels.HigherOrder.ComposeFunctions
-
DSCoreNodesUI.HigherOrder.Map
is nowCoreNodeModels.HigherOrder.Map
-
DSCoreNodesUI.HigherOrder.CombinatorNode
is nowCoreNodeModels.HigherOrder.CombinatorNode
-
DSCoreNodesUI.HigherOrder.Combine
is nowCoreNodeModels.HigherOrder.Combine
-
DSCoreNodesUI.HigherOrder.ForEach
is nowCoreNodeModels.HigherOrder.ForEach
-
DSCoreNodesUI.HigherOrder.LaceShortest
is nowCoreNodeModels.HigherOrder.LaceShortest
-
DSCoreNodesUI.HigherOrder.LaceLongest
is nowCoreNodeModels.HigherOrder.LaceLongest
-
DSCoreNodesUI.HigherOrder.CartesianProduct
is nowCoreNodeModels.HigherOrder.CartesianProduct
-
DSCoreNodesUI.HigherOrder.Reduce
is nowCoreNodeModels.HigherOrder.Reduce
-
DSCoreNodesUI.HigherOrder.ScanList
is nowCoreNodeModels.HigherOrder.ScanList
-
DSCoreNodesUI.HigherOrder.Filter
is nowCoreNodeModels.HigherOrder.Filter
-
DSCoreNodesUI.HigherOrder.Replace
is nowCoreNodeModels.HigherOrder.Replace
-
- The
DSCoreNodesUI.Input
namespace has been renamed toCoreNodeModels.Input
:-
DSCoreNodesUI.Input.StringInput
is nowCoreNodeModels.Input.StringInput
-
DSCoreNodesUI.Input.ConversionDelegate
is nowCoreNodeModels.Input.ConversionDelegate
-
DSCoreNodesUI.Input.DoubleInput
is nowCoreNodeModels.Input.DoubleInput
-
DSCoreNodesUI.Input.BasicInteractive<T>
is nowCoreNodeModels.Input.BasicInteractive<T>
-
DSCoreNodesUI.Input.Bool
is nowCoreNodeModels.Input.Bool
-
DSCoreNodesUI.Input.BoolSelector
is nowCoreNodeModels.Input.BoolSelector
-
DSCoreNodesUI.Input.DateTime
is nowCoreNodeModels.Input.DateTime
-
DSCoreNodesUI.Input.Double
is nowCoreNodeModels.Input.Double
-
DSCoreNodesUI.Input.DoubleSlider
is nowCoreNodeModels.Input.DoubleSlider
-
DSCoreNodesUI.Input.FileSystemBrowser
is nowCoreNodeModels.Input.FileSystemBrowser
-
DSCoreNodesUI.Input.Filename
is nowCoreNodeModels.Input.Filename
-
DSCoreNodesUI.Input.Directory
is nowCoreNodeModels.Input.Directory
-
DSCoreNodesUI.Input.FileSystemObject<T>
is nowCoreNodeModels.Input.FileSystemObject<T>
-
DSCoreNodesUI.Input.FileObject
is nowCoreNodeModels.Input.FileObject
-
DSCoreNodesUI.Input.DirectoryObject
is nowCoreNodeModels.Input.DirectoryObject
-
DSCoreNodesUI.Input.Integer
is nowCoreNodeModels.Input.Integer
-
DSCoreNodesUI.Input.IntegerSlider
is nowCoreNodeModels.Input.IntegerSlider
-
DSCoreNodesUI.Input.SliderBase<T>
is nowCoreNodeModels.Input.SliderBase<T>
-
DSCoreNodesUI.Input.String
is nowCoreNodeModels.Input.String
-
- The
DSCoreNodesUI.Logic
namespace has been renamed toCoreNodeModels.Logic
:-
DSCoreNodesUI.Logic.BinaryLogic
is nowCoreNodeModels.Logic.BinaryLogic
-
DSCoreNodesUI.Logic.And
is nowCoreNodeModels.Logic.And
-
DSCoreNodesUI.Logic.Or
is nowCoreNodeModels.Logic.Or
-
DSCoreNodesUI.Logic.If
is nowCoreNodeModels.Logic.If
-
DSCoreNodesUI.Logic.ScopedIf
is nowCoreNodeModels.Logic.ScopedIf
-
- The
- All classes in CoreNodeModelsWpf in Dynamo.Wpf moved to CoreNodeModelsWpf namespace
- The
Dynamo.Wpf
namespace has been removed toCoreNodeModelsWpf
-
Dynamo.Wpf.DoubleSliderSettingsControl
is nowCoreNodeModelsWpf.DoubleSliderSettingsControl
-
Dynamo.Wpf.ElementSelectionControl
is nowCoreNodeModelsWpf.ElementSelectionControl
-
Dynamo.Wpf.IntegerSliderSettingsControl
is nowCoreNodeModelsWpf.IntegerSliderSettingsControl
-
Dynamo.Wpf.ConverterViewModel
is nowCoreNodeModelsWpf.ConverterViewModel
-
Dynamo.Wpf.SliderViewModel<T>
is nowCoreNodeModelsWpf.SliderViewModel<T>
-
- The
Dynamo.Wpf.Controls
namespace has been removed toCoreNodeModelsWpf.Controls
-
Dynamo.Wpf.Controls.DateTimeInputControl
is nowCoreNodeModelsWpf.Controls.DateTimeInputControl
-
Dynamo.Wpf.Controls.DynamoConverterControl
is nowCoreNodeModelsWpf.Controls.DynamoConverterControl
-
Dynamo.Wpf.Controls.DynamoSlider
is nowCoreNodeModelsWpf.Controls.DynamoSlider
-
- The
Dynamo.Wpf.Converters
namespace has been removed toCoreNodeModelsWpf.Converters
-
Dynamo.Wpf.Converters.SelectionButtonContentConverter
is nowCoreNodeModelsWpf.SelectionButtonContentConverter
-
Dynamo.Wpf.Converters.StringToDateTimeConverter
is nowCoreNodeModelsWpf.Converters.StringToDateTimeConverter
-
- The
Dynamo.Wpf.Nodes
namespace has been removed toCoreNodeModelsWpf.Nodes
-
Dynamo.Wpf.Nodes.BoolSelectorNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.BoolSelectorNodeViewCustomization
-
Dynamo.Wpf.Nodes.ColorRangeNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.ColorRangeNodeViewCustomization
-
Dynamo.Wpf.Nodes.CreateListNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.CreateListNodeViewCustomization
-
Dynamo.Wpf.Nodes.DirectoryNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.DirectoryNodeViewCustomization
-
Dynamo.Wpf.Nodes.DoubleInputNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.DoubleInputNodeViewCustomization
-
Dynamo.Wpf.Nodes.DropDownNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.DropDownNodeViewCustomization
-
Dynamo.Wpf.Nodes.DummyNodeNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.DummyNodeNodeViewCustomization
-
Dynamo.Wpf.Nodes.FormulaNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.FormulaNodeViewCustomization
-
Dynamo.Wpf.Nodes.SelectionBaseNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.SelectionBaseNodeViewCustomization
-
Dynamo.Wpf.Nodes.StringInputNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.StringInputNodeViewCustomization
-
Dynamo.Wpf.Nodes.WatchNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.WatchNodeViewCustomization
-
Dynamo.Wpf.Nodes.WatchImageNodeViewCustomization
is nowCoreNodeModelsWpf.Nodes.WatchImageNodeViewCustomization
-
- The
Dynamo.Wpf.NodeViewCustomizations
namespace has been removed toCoreNodeModelsWpf.NodeViewCustomizations
-
Dynamo.Wpf.NodeViewCustomizations.ConverterNodeViewCustomization
is nowCoreNodeModelsWpf.NodeViewCustomizations.ConverterNodeViewCustomization
-
Dynamo.Wpf.NodeViewCustomizations.DateTimeNodeViewCustomization
is nowCoreNodeModelsWpf.NodeViewCustomizations.DateTimeNodeViewCustomization
-
Dynamo.Wpf.NodeViewCustomizations.DoubleSliderNodeViewCustomization
is nowCoreNodeModelsWpf.NodeViewCustomizations.DoubleSliderNodeViewCustomization
-
Dynamo.Wpf.NodeViewCustomizations.IntegerSliderNodeViewCustomization
is nowCoreNodeModelsWpf.NodeViewCustomizations.IntegerSliderNodeViewCustomization
-
- The
-
PythonNodeModelsWpf.ScriptEditorWindow
now requires three arguments
-
DSIronPythonNode.PythonNodeBase
is nowPythonNodeModels.PythonNodeBase
-
DSIronPythonNode.PythonNode
is nowPythonNodeModels.PythonNode
-
DSIronPythonNode.PythonStringNode
is nowPythonNodeModels.PythonStringNode
. -
DSIronPythonNode.PythonNodeViewCustomization
is nowPythonNodeModelsWpf.PythonNodeViewCustomization
-
DSIronPythonNode.ScriptEditorWindow
is nowPythonNodeModelsWpf.ScriptEditorWindow
- Public constructors have been added to
MeasurementInputBase
to 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