-
ATTENTION NEW USERS! READ THIS POST BEFORE DOING ANYTHING!
Hello all! Unfortunately the forum has recently been the victim of a spam attack, which you may have seen. We've got it under control but whilst we work to shore up the walls, so to speak, we have unfortunately gone into lockdown and you will not be able to post anything for a while. Please bear with us whilst we address…
-
New search functionality for the Ansys dev portal
Hello to our forum and portal users! We are very excited to be on the verge of rolling out our new unified search for the Ansys Developer Portal and Forums. This search will bring together the documentation and articles from the dev portal and posts and information on the forum into a new single search. Over time we will…
-
Welcome! Please Read Before Posting
Welcome to the Ansys Developer community! If you are using the developer tool packages with Ansys simulation tools then this is your community space. This community has been created to ask questions of your peers, exchange ideas, and converse about developer issues within an Ansys context. Here are some guidelines: Keep…
-
How can I rename remote points based on some of their properties?
I would like to rename remote point objects in my model in such way that the name contains some useful info for further postprocessing.
-
What function allows you to compute Aerodynamic Forces?
solver.solution.report_definitions.drag['cd-mon1'] = {"zones" : ["wall_ahmed_body_main", "wall_ahmed_body_front", "wall_ahmed_body_rear", "wheels"]}solver.solution.report_definitions.lift['cl-mon1'] = {"zones" : ["wall_ahmed_body_main", "wall_ahmed_body_front", "wall_ahmed_body_rear",…
-
The extension attribute does not persist when reopening the Mechanical window
I am setting an extension attribute through ExtAPI.ExtensionManager.CurrentExtension.Attributes["MyAttribute"] = myValue However, the attribute does not persist when reopening the Mechanical window. How can I save the attribute?
-
How to set common max and min values for contour plots across different result objects?
In the context of transient analysis, when requesting a result at all sets, each result has its own upper and lower bounds for the contour plot. I want to have a common contour plot scale across my set of results on different time steps so I can make effective comparisons.
-
How to prevent the deletion of calculation results when importing a Construction Body
I am trying to import a new body that I will use as a Construction Body. When importing the new body, the calculation results are deleted. How can I prevent the deletion of results until the body is imported and its Treatment is changed to Construction Body?
-
Problem with using Ansys.ACT.Mechanical.Tools.AddGeometry
When loading geometry via Ansys.ACT.Mechanical.Tools.AddGeometry, the resulting body does not appear in the Geometries. I tried refreshing the tree (Tree.Refresh, TreeHandler.FillTree) and it didn't help. Perhaps someone has used a similar function and knows how to make the body appear in Mechanical so that it can then be…
-
How to create a custom crack in the Fracture section?
I need to add an object to the project tree that inherits the properties of ArbitraryCrack and has some additional properties. Is there an approach that allows this? I have examined the .dll libraries Ansys.ACT.WB1 and Ansys.Common.Interop for the required functionality. I also reviewed the .js code in…
-
How to set Mechanical preferences with Python script ?
Hi, I would like to create an ACT button for defining some setting. Now, I create this function : def reglages_WB(analysis): """ TBD """ SetPreferenceValue("GraphicsBackgroundColor","255 255 255 255") SetPreferenceValue("Language","fr") SetPreferenceValue("ShowBetaOptions","True")…
-
How can I parametrize the displacement value of reaction force max and/or min in Ansys Mechanical in
Hi, parametrizing max and min values of force reaction is very simple but I don't know how to do that with their corresponding displacement values visible from "chart" graph. Basically I would need to parametrize, for the next RSO analysis: Fmax Fmin x of Fmax x of Fmin Thank you
-
The calling thread cannot access this object because a different thread owns it.
SpaceClaim issue with splitting the face second time in a row. # Split Facesoptions = SplitFaceOptions()selection = FaceSelection.Create(GetRootPart().Components[0].Content.Bodies[0].Faces[0])point = EdgeSelection.Create(GetRootPart().Components[0].Content.Bodies[0].Edges[6]).Items[0].EvalProportion(0.8).Pointresult =…