Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Ansys 2025 R1 CAD Configuration not saving.

    • mcmasterslj
      Subscriber

      We are having an odd issue of the CAD Configuration Manager 2025 of not saving our selections.  I have Ansys 2025 R1 along with the Service Pack 3 deployed to our labs and I had a user report (I tested too) when trying to in use the Workbench they are receiving the following error when using Static Structural -> Import Geometry (Selecting a Solidworks SLDPRT model) -> Model -> Edit:

      Unable to attach to geometry file 
      System.Exception: Unable to attach to geometry file C:\Users\mcmasterslj-la\Documents\test.SLDPRT. Unable to attach geometry.
         at Ansys.Simulation.Core.Commands.RefreshModel.ExecuteCommand(IFullContext context)
         at Ansys.Addins.Infrastructure.CommandUtilities.CommandHelper.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: Unable to attach to geometry file C:\Users\mcmasterslj-la\Documents\test.SLDPRT. Unable to attach geometry.
      CommandName: Mechanical.RefreshModel(Container="Model", RemainingContainers=[])
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.ProjectSchematic.Commands.RefreshCommand.RefreshComponents(IFullContext context, IEnumerable`1 componentsToRefresh, Boolean refreshUnfulfilled)
         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: Unable to attach to geometry file C:\Users\mcmasterslj-la\Documents\test.SLDPRT. Unable to attach geometry.
      CommandName: RefreshComponent(Component="/Schematic/Component:Model")
         at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
         at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
         at Ansys.ProjectSchematic.Commands.RefreshComponentCommand.InvokeAndWait(IProtectedContext context, DataReference Component)
         at Ansys.Simulation.GUI.EditModelBase.InvokeEditModelOperation(GuiOperationContext context, IGuiOperation guiOperation, DataContainerReference dcr)
         at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
         at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)

      We are using an admin account to change the selections for all users, and selecting Solidworks -> Workbench Associative Interface, then under CAD configuration click "Configure Selected CAD Interface" and it configures properly:

      Prerequisites ..... Configure Success
      Discovery Workbench Plugin ..... Configure Success

      CAD Configuration log file was written to location:  C:\Program Files\ANSYS Inc\CADConfigLogs\v251\Latest\CADConfigurationMgr.log

      When I close it and open it again as admin it does not save the selection and Solidworks remains unchecked.

      The Odd part is if I open the CAD Configuration Manager 2025 R1 again and I change the CAD configurations for Solidworks and run the configurator but leave the Ansys CAD Configuration Manager 2025 R1 program open, then redo the steps above to edit the SLDPRT part in the workbench it will open and work properly.  After it opens I can close the Ansys CAD Configuration Manager 2025 R1 then run  the test again and it the part opens properly again in Mechanical.  But if I then open Ansys CAD Configuration Manager 2025 R1 again it shows the SOLIDWORKS Selection as unchecked again.  Another quarky issue is I have to open and configuration manager the first time then exit and open it a second to apply this odd workaround.  I cant just open the Configuration Manager and leave it open the first time otherwise it will give me the same error.


Viewing 0 reply threads
  • You must be logged in to reply to this topic.