Tagged: spaceclaim
-
-
August 2, 2021 at 7:16 pm
nicolicfs
SubscriberI'm relatively new to Ansys products. I'm trying to do a parameter study using Spaceclaim and Workbench.
I created a couple geometry parameters in Spaceclaim. Then I deleted them, and recreated them with the same names. I did this a few times as I was building my model. Unfortunately, it seems that the Parameter Set in Workbench seems to remember the deleted parameters. How do I refresh Workbench so it only has the parameters that are currently in Spaceclaim?
August 2, 2021 at 7:23 pmnicolicfs
SubscriberOh no.... I tried to modify one of the parameters in Workbench, then refreshed the geometry. I received this error. Maybe it's related?
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Ansys.DesignModeler.Core.Queries.GetParametersQuery.Execute(IQueryContext context)
at Ansys.Core.Commands.Concurrency.QueryWorkUnit.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: An item with the same key has already been added.
CommandName: DesignModeler.DesignModelerParameterQuery(QueryContainer="Geometry 2")
at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.DesignModeler.Core.Queries.GetParametersQuery.InvokeAndWait(IQueryContext context, DataContainerReference QueryContainer, String paramName)
at Ansys.DesignModeler.Core.Addin.PushParametersToGeometryEditor(IFullContext context, DataReference geometryDataObjectRef)
at Ansys.DesignModeler.Core.Commands.RefreshGeometry.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: An item with the same key has already been added.
CommandName: DesignModeler.RefreshGeometry(Container="Geometry 2")
at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
at Ansys.DesignModeler.Core.Commands.RefreshGeometry.InvokeAndWait(IProtectedContext context, DataContainerReference Container)
at Ansys.DesignModeler.GUI.EditGeometry.Invoke(GuiOperationContext context)
at Ansys.UI.GuiOperationContext.Invoke(GuiOperationMetaData operationData)
at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction, Boolean deferredRefreshOnly)
March 21, 2022 at 3:19 pmpilotNodes
SubscriberI am getting the same issues. I wish somebody could address this, it would be of immense help!
May 19, 2022 at 6:02 pmtryoung2
SubscriberI found that if you go to the variable that you are using for the input parameter and then uncheck the "use as input parameter" checkbox, save the project, then go back and check the checkbox and it should clear up the unused parameter.
I also found that in the case where you delete an expression or variable that you used as an input parameter it will not delete it from the Workbench parameters list. To get around this, remake the variable that you deleted, i.e. if you deleted a variable, that we'll call X1, that was an input parameter, remake the variable X1 but this time don't check the "use as input parameter" checkbox, save the project, and it will be deleted from your parameter list in Workbench. Then you can go back and delete the variable again.
May 28, 2022 at 5:14 amMadScientist
SubscriberViewing 4 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- how to improve the inflation quality at sharp corners?
- ANSYS Workbench Measuring within Design
- check element type
- The mesh file exporter could not resolve cyclic dependencies in overlapping contact regions error
- How to resolve Mesh Failure
- Meshing Error
- Error in meshing
- Conformal vs Non-Conformal Mesh
- execution error inside the mesher. The process suffered an unhandled exception or ran out of memory
- inflation created stairstep mesh at some location
Top Contributors-
3678
-
2552
-
1751
-
1232
-
584
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-