-
-
November 5, 2025 at 9:20 pm
awbrandt
SubscriberWhen attempting to update all design points in Ansys Workbench (2025 R1) from the Project tab, I get the following error below. I can reproduce the error when using Update All Design Points in the Parameter Set tab. How do I fix this so I can use the Update All Design Points feature? The Retain results box is checked on all design points. This is an academic license and the error persists even when opening Workbench as an admin (Windows 11 system).Â
Error message:Â
System.ArgumentNullException: Value cannot be null.
Parameter name: path2
  at System.IO.Path.Combine(String path1, String path2)
  at Ansys.Simulation.Core.Addin.GetGlobalFilesToRetain(IQueryContext context, String designPointDirectoryName, IEnumerable1 forContainers)1 forContainers)
at Ansys.Core.FileManagement.FileManager.GetGlobalFilesToRetain(IQueryContext context, String dpDirName, IEnumerable
  at Ansys.ParameterManager.Commands.RetainedFilesCalculator.GetFilesForValidData(IEnumerable1 validRetainedData, List1& confirmedValidRetainedData)
  at Ansys.ParameterManager.Commands.SwitchDesignPointHelper.IdentifyRetainedDataAndUpdateHasRetainedDataProperty(IFullContext context, DataReference dp, IEnumerable1 retainedContainersToIgnore, Set1& retainedContainers, Set1& retainedFiles)1 additionalContainersToRetainForNonRetainedFromDp, Priming priming, IEnumerable
at Ansys.ParameterManager.Commands.SwitchDesignPointHelper.Switch(IFullContext context, DataReference toDP, Boolean isChangingBaseDP, Boolean keepFilesForNonRetainedFromDp, Boolean retainPartialDataForNonRetainedFromDp, IEnumerable1 retainedContainersToIgnoreForToDp, IEnumerable1 containersNotAffectedByParameter, Boolean calculateContainersNotAffectedByParameter, Boolean isPartOfPartialUpdate)
  at Ansys.ParameterManager.Commands.SetActiveDesignPointWithSkippedFilesCommand.Execute(IFullContext context)
  at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: Value cannot be null.
Parameter name: path2
CommandName: Parameters.SetActiveDesignPointWithSkippedFiles(DesignPoint="/Parameters/DesignPoint:9", Priming="UseBaseIfNeeded", AdditionalContainersToRetainForOldActiveDesignPoint=["Geometry 2", "Model 2", "Model 3"], ContainersNotAffectedByParameter=["Engineering Data 2", "Engineering Data 4"])
  at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
  at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
  at Ansys.ParameterManager.Commands.SetActiveDesignPointWithSkippedFilesCommand.InvokeAndWait(IProtectedContext context, DataReference DesignPoint, Priming Priming, Boolean DeleteFilesForOldActiveDesignPoint, Boolean RetainPartialFilesForOldActiveDesignPoint, IEnumerable1 AdditionalContainersToRetainForOldActiveDesignPoint, IEnumerable1 RetainedContainersToIgnoreForNewActiveDesignPoint, IEnumerable`1 ContainersNotAffectedByParameter, Boolean IsPartOfPartialUpdate)
  at Ansys.ProjectSchematic.Update.UpdateImpl.switchDesignPoint(DataReference toDesignPoint, Boolean toUpdateIt, Boolean allUpdatedInFromDP)
  at Ansys.ProjectSchematic.Update.UpdateImpl.d__73.MoveNext()
  at Ansys.ProjectSchematic.Commands.UpdateAllDesignPointsCommand.d__9.MoveNext()
  at Ansys.Core.Commands.Concurrency.SuspendableCommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: Value cannot be null.
Parameter name: path2
CommandName: UpdateAllDesignPoints(DesignPoints=["/Parameters/DesignPoint:8", "/Parameters/DesignPoint:9", "/Parameters/DesignPoint:10", "/Parameters/DesignPoint:11", "/Parameters/DesignPoint:12", "/Parameters/DesignPoint:13"])
  at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
  at Ansys.Core.Commands.CommandAsyncResult.WaitForSuspendOrComplete(Int32 milliSecondsTimeout, Boolean exitContext)
  at Ansys.Core.Commands.Core.OutputArgBase.WaitForSuspendOrComplete(ISuspendResumeCommands suspendResumeHandler, Int32 milliSecondsTimeout, Boolean exitContext)
  at Ansys.ProjectSchematic.GuiOperations.AbstractUpdateProjectDesignPointsGui.Invoke(IUserInteractor interactor)
  at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
 at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly) -
November 6, 2025 at 4:06 pm
Gary_S
Ansys EmployeeQ:Â Parameter name: path2
Is this one of your Parameters?
======================
Can you run Winver.exe and tell us the exact update version of Windows 11? It might be 23H2 or 24H2 or 25H2.Â
-
November 6, 2025 at 4:09 pm
awbrandt
Subscriberpath2 is not one of my parameters in my design points table (nor something that I made). The Windows version is 23H2.
-
-
November 6, 2025 at 4:28 pm
Gary_S
Ansys EmployeeCan you confirm you are solving on a local drive with sufficient disk space? (not a OneDrive or network share).
Unrelated to your issue: If you update to Windows 11 24H2 or 25H2 please use Ansys 2025R1+SP2 or greater or 2025R2. This is due to a Jscript incompatibility starting in Windows 11 24H2.-
November 6, 2025 at 4:38 pm
awbrandt
SubscriberYes, I am solving on a local drive with sufficient space - about 500 GB of the drive is unused.
-
-
November 6, 2025 at 4:47 pm
Gary_S
Ansys EmployeeSave a backup copy of the project.Â
Are you able to solve DPs individually?-
November 10, 2025 at 4:13 pm
awbrandt
SubscriberI cannot update DP individually on the original project file. When I archive the project then re-import the archive to a new project, I do not get the same error.Â
-
-
November 6, 2025 at 8:53 pm
mrife
Ansys EmployeeHiÂ
Looking at the start of the error listing:
System.ArgumentNullException: Value cannot be null.
Parameter name: path2
 at System.IO.Path.Combine(String path1, String path2)
This looks like a Python OS 'path joining' operation but "path2" does not exist. My guess is that "path2" is supposed to be a file name
with extension. Maybe in WB select View -> Files and see if any project files are shown in red meaning that they are referenced but missing
in the WB Project.Â
-
November 10, 2025 at 4:10 pm
awbrandt
SubscriberNo project files are missing or highlighted in red.
-
-
November 10, 2025 at 4:31 pm
Gary_S
Ansys EmployeeÂ
It seems the project structure is corrupt.
The analysis blocks are likely OK however. We should be able to recover.Â
Can you tell us what your schematic consists of? Static Structural or ?ÂÂ
-
November 12, 2025 at 5:15 pm
awbrandt
SubscriberSteady state thermal and static structural. The geometry is shared from steady state thermal to structural, and so is the solution from steady state thermal to the setup of the static structural.
-
-
November 12, 2025 at 5:23 pm
Gary_S
Ansys EmployeeGeneral steps to migrate to a fresh project:Â
Open Mechanical
File > Export > .mechdat
Create a new Project.
Drag/drop the .mechdat onto the new Project whitespace.
Save the new Project.Â
You will have to expose the "P" Parameters you need from within the new Mechaical.
Tip: If you expose the Parameters in the same order as the old Project, you can more easily copy/paste the Parameters set input values from the old Project to the new one.Â
Let us know how it goes. ÂÂ
-
November 12, 2025 at 5:26 pm
awbrandt
SubscriberWill links to APDL commands be retained when copying this way? The meshing methods? Which parameters will have their references broken? I have about 20 parameters, ranging from the engineering data to the geometry and loading conditions.Â
-
-
November 12, 2025 at 5:48 pm
Gary_S
Ansys EmployeeAll data and settings will be retained except the "P" parameter checkboxes.Â
-
- You must be logged in to reply to this topic.
-
5824
-
1906
-
1420
-
1305
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.