Method | Description | |
---|---|---|
LoadWorkspaceFromJson ( string json, LibraryServices libraryServices, Dynamo.Engine.EngineController engineController, Dynamo.Scheduler.DynamoScheduler scheduler, NodeFactory factory, bool isTestMode, bool verboseLogging, Dynamo.Core.CustomNodeManager manager ) : |
Load a WorkspaceModel from json. If the WorkspaceModel is a HomeWorkspaceModel it will be set as the current workspace.
|
|
SaveWorkspaceToJson ( |
Save a Workspace to json.
|
Method | Description | |
---|---|---|
ReplaceTypeDeclarations ( string json, bool fromServer = false ) : string |
Strips $type references from the generated json, replacing them with type names matching those expected by the server.
|
public static LoadWorkspaceFromJson ( string json, LibraryServices libraryServices, Dynamo.Engine.EngineController engineController, Dynamo.Scheduler.DynamoScheduler scheduler, NodeFactory factory, bool isTestMode, bool verboseLogging, Dynamo.Core.CustomNodeManager manager ) : |
||
json | string | |
libraryServices | LibraryServices | |
engineController | Dynamo.Engine.EngineController | |
scheduler | Dynamo.Scheduler.DynamoScheduler | |
factory | NodeFactory | |
isTestMode | bool | |
verboseLogging | bool | |
manager | Dynamo.Core.CustomNodeManager | |
return |
public static SaveWorkspaceToJson ( |
||
workspace | ||
libraryServices | LibraryServices | |
engineController | Dynamo.Engine.EngineController | |
scheduler | Dynamo.Scheduler.DynamoScheduler | |
factory | NodeFactory | |
isTestMode | bool | |
verboseLogging | bool | |
manager | Dynamo.Core.CustomNodeManager | |
return | string |