diff --git a/Projects/Foundations/Schemas/Docs-Topics/H/How/How-to-Automate-Actions-at-The-Design-Space/how-to-automate-actions-at-the-design-space-006-automating-actions-using-function-libraries.json b/Projects/Foundations/Schemas/Docs-Topics/H/How/How-to-Automate-Actions-at-The-Design-Space/how-to-automate-actions-at-the-design-space-006-automating-actions-using-function-libraries.json index 9e0031dcb..234fb1d09 100644 --- a/Projects/Foundations/Schemas/Docs-Topics/H/How/How-to-Automate-Actions-at-The-Design-Space/how-to-automate-actions-at-the-design-space-006-automating-actions-using-function-libraries.json +++ b/Projects/Foundations/Schemas/Docs-Topics/H/How/How-to-Automate-Actions-at-The-Design-Space/how-to-automate-actions-at-the-design-space-006-automating-actions-using-function-libraries.json @@ -79,7 +79,7 @@ }, { "style": "Javascript", - "text": "UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(projectReference, rootNodes)", + "text": "UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(projectReference, rootNodes)", "updated": 1614943594904 }, { diff --git a/Projects/Foundations/UI/Function-Libraries/ActionSwitch.js b/Projects/Foundations/UI/Function-Libraries/ActionSwitch.js index 789454bbf..c87aaa06d 100644 --- a/Projects/Foundations/UI/Function-Libraries/ActionSwitch.js +++ b/Projects/Foundations/UI/Function-Libraries/ActionSwitch.js @@ -63,7 +63,7 @@ function newFoundationsActionSwitch() { } break case 'Delete Workspace': { - return UI.projects.foundations.functionLibraries.nodeDeleter.deleteWorkspace(action.node, action.rootNodes, action.callBackFunction) + return UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteWorkspace(action.node, action.rootNodes, action.callBackFunction) } break case 'Copy Node Path': @@ -116,7 +116,7 @@ function newFoundationsActionSwitch() { break case 'Delete UI Object': { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(action.node, action.rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(action.node, action.rootNodes) } break case 'Edit Code': diff --git a/Projects/Foundations/UI/Function-Libraries/ChartingSpaceFunctions.js b/Projects/Foundations/UI/Function-Libraries/ChartingSpaceFunctions.js index c4031bbd0..207b9e1e7 100644 --- a/Projects/Foundations/UI/Function-Libraries/ChartingSpaceFunctions.js +++ b/Projects/Foundations/UI/Function-Libraries/ChartingSpaceFunctions.js @@ -61,7 +61,7 @@ function newFoundationsFunctionLibraryChartingSpaceFunctions() { let plotterModule = UI.projects.foundations.utilities.meshes.findNodeInNodeMesh(layer, 'Plotter Module', undefined, true, false, false, true) if (plotterModule === undefined) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(layer, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(layer, rootNodes) } } /* @@ -203,7 +203,7 @@ function newFoundationsFunctionLibraryChartingSpaceFunctions() { function deleteNodeByName(nodeName) { let nodeToDelete = UI.projects.foundations.utilities.meshes.findNodeInNodeMesh(timelineChart.layerManager, undefined, nodeName, true, true, false, false) if (nodeToDelete === undefined) { return } - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(nodeToDelete, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(nodeToDelete, rootNodes) } } } @@ -262,7 +262,7 @@ function newFoundationsFunctionLibraryChartingSpaceFunctions() { function deleteNodeByName(nodeName) { let nodeToDelete = UI.projects.foundations.utilities.meshes.findNodeInNodeMesh(timelineChart.layerManager, undefined, nodeName, true, true, false, false) if (nodeToDelete === undefined) { return } - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(nodeToDelete, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(nodeToDelete, rootNodes) } } } diff --git a/Projects/Foundations/UI/Function-Libraries/CryptoEcosystemFunctions.js b/Projects/Foundations/UI/Function-Libraries/CryptoEcosystemFunctions.js index 44e42b734..5cba2cc47 100644 --- a/Projects/Foundations/UI/Function-Libraries/CryptoEcosystemFunctions.js +++ b/Projects/Foundations/UI/Function-Libraries/CryptoEcosystemFunctions.js @@ -595,7 +595,7 @@ function newFoundationsFunctionLibraryCryptoEcosystemFunctions() { time machines to lose their reference parent since the install process deletes them. */ - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(timeMachine, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(timeMachine, rootNodes) continue } let marketTradingTasks = UI.projects.foundations.utilities.meshes.findNodeInNodeMesh(session, 'Market Trading Tasks', undefined, true, false, true, false) @@ -603,7 +603,7 @@ function newFoundationsFunctionLibraryCryptoEcosystemFunctions() { if (marketTradingTasks.payload === undefined) { continue } if (marketTradingTasks.payload.referenceParent === undefined) { continue } if (marketTradingTasks.payload.referenceParent.id === market.id) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(timeMachine, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(timeMachine, rootNodes) } } /* @@ -649,7 +649,7 @@ function newFoundationsFunctionLibraryCryptoEcosystemFunctions() { if (marketTradingTasks.payload === undefined) { continue } if (marketTradingTasks.payload.referenceParent === undefined) { continue } if (marketTradingTasks.payload.referenceParent.id === market.id) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(timeMachine, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(timeMachine, rootNodes) } } @@ -664,11 +664,11 @@ function newFoundationsFunctionLibraryCryptoEcosystemFunctions() { */ let projectReference = dashboard.payload.parentNode schemaDocument = getSchemaDocument(dashboard) - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(dashboard, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(dashboard, rootNodes) if (projectReference !== undefined && schemaDocument.propertyNameAtParent !== undefined) { if (projectReference[schemaDocument.propertyNameAtParent] !== undefined) { if (projectReference[schemaDocument.propertyNameAtParent].length === 0) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(projectReference, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(projectReference, rootNodes) } } } @@ -712,7 +712,7 @@ function newFoundationsFunctionLibraryCryptoEcosystemFunctions() { */ let exchangeReference = marketReference.payload.parentNode let schemaDocument = getSchemaDocument(marketReference) - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(marketReference, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(marketReference, rootNodes) if (exchangeReference !== undefined && schemaDocument.propertyNameAtParent !== undefined) { if (exchangeReference[schemaDocument.propertyNameAtParent].length === 0) { /* @@ -721,10 +721,10 @@ function newFoundationsFunctionLibraryCryptoEcosystemFunctions() { */ let projectReference = exchangeReference.payload.parentNode schemaDocument = getSchemaDocument(exchangeReference) - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(exchangeReference, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(exchangeReference, rootNodes) if (projectReference !== undefined && schemaDocument.propertyNameAtParent !== undefined) { if (projectReference[schemaDocument.propertyNameAtParent].length === 0) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(projectReference, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(projectReference, rootNodes) } } } diff --git a/Projects/Foundations/UI/Function-Libraries/SuperScripts.js b/Projects/Foundations/UI/Function-Libraries/SuperScripts.js index 01a95dfd0..1877a5a0c 100644 --- a/Projects/Foundations/UI/Function-Libraries/SuperScripts.js +++ b/Projects/Foundations/UI/Function-Libraries/SuperScripts.js @@ -48,7 +48,7 @@ function newFoundationsFunctionLibrarySuperScriptsFunctions() { } function deleteNode(node) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(node, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(node, rootNodes) } /* Validations */ diff --git a/Projects/Visual-Scripting/UI/Utilities/NodeChildren.js b/Projects/Visual-Scripting/UI/Utilities/NodeChildren.js index b431425d3..615bedabc 100644 --- a/Projects/Visual-Scripting/UI/Utilities/NodeChildren.js +++ b/Projects/Visual-Scripting/UI/Utilities/NodeChildren.js @@ -338,7 +338,7 @@ function newVisualScriptingUtilitiesNodeChildren() { let child child = findChildReferencingThisNode(startingNode, referencedNode) if (child !== undefined) { - UI.projects.foundations.functionLibraries.nodeDeleter.deleteUIObject(child, rootNodes) + UI.projects.visualScripting.functionLibraries.nodeDeleter.deleteUIObject(child, rootNodes) } child = UI.projects.foundations.functionLibraries.uiObjectsFromNodes.addUIObject(startingNode, childType) UI.projects.visualScripting.functionLibraries.attachDetach.referenceAttachNode(child, referencedNode)