-
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…
-
Pyansys DPF - RuntimeError and - ansys.dpf.gate.errors.DPFServerException
Hi all, I'm getting this two errors: * RuntimeError: terminate called after throwing an instance of 'std::logic_error' what(): grpc plugin not correctly loaded, can not instantiate grpc::stream_provider operator * ansys.dpf.gate.errors.DPFServerException: a 'service is currently unavailable' error occurred: Connection…
-
Is there a simple method to convert Ansys rst results to Paraviewer results?
Yes, this is possible using the Ansys pydpf package. https://dpf.docs.pyansys.com/version/stable/ The script example (below) requires pydpf and easygui (just to request the file to open) that are not part of a standard python installation, so you will have to pip install them: * pydpf * easygui This example is for a simple…
-
How can I get all the sweepable objects in my model by scripting?
Sweepable objects have some properties that make them useful in certain mesh functions. So it is nice to be able to have all sweepables in one named selection. This can be done with a few lines of script. * Use the mesh item in the tree to Show sweepable bodies * use the Selection manager to access the active/selection *…
-
How to "Retrieve Result" for a single result object and not "Evaluate All Results"?
How to retrieve the result for a single result object instead of Evaluate All results which seems to be the only option available via scripting?
-
DEM Output
Is it possible to output particle position as well as it's radius using pyDPF linux version?
-
Is there a way to select a GraphicsEntity with the mouse?
I am creating a graphical object in Factory3D (for example, a point using CreatePoint(IWorldPoint, Double)). Is it possible to select the displayed object with the left mouse button? The idea is that the user should select a point on the drawn geometry, and then some algorithm will be executed. The geometry cannot be…
-
How to add force reaction (for weak springs)?
We have activated weak springs (analysis settings = On), and want to create automatically a force reaction result for weak springs using ACT scripting.
-
Can I define a set of step end times via scripting?
I am trying to develop a script to access analysis settings and set a large series of step end times from a list of end time values in seconds.
-
How can I pass the wb namespace from a main wb journal file to a submodule?
If I create a wbjn file which accesses other python files, I am able to import modules like os, sys etc. but the commands like GetProjectDirectory() are no longer accesible to me, within this module. How do I get acces to the functions and methods of workbench from sublevel python scripts?
-
How to plot fibre orientation tensor in global coordinates system?
When using injection molding data, Mechanical reads and makes a mapping into the mesh of the data coming from the injection software. Fibre orientation tensor can be plot in elemental orientation, however there is no option to plot it in global coordinate system. There is an example to do it outside Mechanical GUI link,…