-
Is there any way to block a particular license and release when needed through scripting?
I have a mixed wizard but there are limited licenses. I would like to block a particular license and release it before launching an application. Is there any way to do that via script or subprocess using license client executables?
-
Ansys mechanical scripting. How to get Element type ID's using mechanical scripting?
This figure is taken from the worksheet tab. I'm trying to use mechanical scripting to get the element type ids for element names I'm interested in. For example, if im interested in SOLID 187, I'd like to get the element type ID's for all solid187 using mechanical scripting.
-
How to Create a File Browser Using Ansys UI Toolkit?
You can create a file browser or a Folder browser using Ansys UI Toolkit or Windows Forms using clr.AddReference("System.Windows.Forms")
-
PathAnalysis package for ANSYS Mechanical
Extension package in python for ANSYS Mechanical for computing and exporting stress and temperature analyses along linear paths to produce analyses necessary for licensing pressure vessels under some regulations: https://github.com/tplobo/path-analysis.git
-
How do I fetch Angular Velocity and Angular Acceleration using PyDPF from a Transient Analysis?
How do I fetch Angular Velocity and Angular Acceleration using PyDPF from a Transient Analysis??
-
How to create the shaft geometry in Ansys Motion using scripting?
-
Mechanical ACT - "expected int, got str" error
-
Creating beam profile in SpaceClaim and assigning to curve
I would like to create a beam profile and assign it to a curve using script. I know start point and end point.
-
Get bounding box of whole CAD assembly in SpaceClaim/Disovery.
I would like to get the bounding box of the whole CAD using script. Is that any way to do that?
-
How Do I automate the toolbar options for convert and extend
I am looking for script which can Automate the manual conversion and extension of selected entities.
-
Getting a Mechanical.Body from a Geometry.GeoBodyWrapper
-
How can be a custom button with some UI can be added to Ansys Workbench
I want to customize the Ansys Workbench UI to add a tab and button as shown below : When I click to Custom Button it should open another custom window as shown below and I can able to provide some action to button click : How this can be done ?
-
How do I get the centroid of my contact elements
I want to save the centroid of the contact elements in all my contacts in a CSV. How would I do that in Mechanical?
-
How to create a custom material in Ansys Workbench programmatically ? By using APIs/ACT
System Information Application : Ansys Workbench Version : 2022 R2 Problem Statement To create a material manually user can add material name in below option After entering name a blank material is created From the left side pallet, user can add material properties manually, and material object will be created with some…
-
How to change text style and size in Ansys Mechanical ?
Hello everyone, do you think we can change the Tree objects text style or size in Ansys Mechanical using scripting? I can manipulate the graphic labels using javascript, so i think it should exist something similar to do the same with text in Ansys Mechanical using javascirpt or Python. I'am talking about this text , i can…
-
Get the top 10% of the results from an analysis
How to get the average value for the top 10% ranked output value for a predefined Named Selection? In post processing, it would take only the 10% top ranked output value (e.g. NLPLWK) in a predefined Named Selection (Mesh,Nodes,Face) and plot it. Then it would calculate the average of those 10% shorted values with their…
-
Edit legends with a UI box in Mechanical
It has come to my attention that several users have issues editing the legend in the Mechanical UI due to a graphical defect with certain NVIDIA GPUs. How can I create a python button in Mechanical that allows me to edit the upper/lower bounds?
-
Named selection : node ids, position and node connectivity with DPF
Using DPF in Mechanical how can I get: * the ids and position of the nodes of a named selection * know to which elements this node is attached to (node connectivity) ?
-
Export Deformed Mesh for Harmonic Analysis
I want to export the deformed body mesh at a particular frequency and particular phase angle for a harmonic analysis as a .cdb file. Harmonic Analysis - Ansys Mechanical 2021R1
-
Python Code object to change objects Before Solve in R2021.2
I want to run a script that updates pressure objects before Solve (as a workaround to some bug in R2021.2 related to not correctly updating the Y-Axis data when opening the WB). But it seems the Python Code object can only read properties in R2021.2, when it is called as 'Before Solve'. When trying to modify a pressure…
-
Selecting an element/node by its Id, how to find which body the element/node corresponds to?
I have an element id, but I need the body to which the element corresponds to. In general, I have a named selection with all the elements of a body. I need to find out to which body the elements correspond to in the assembly.
-
Microsoft Authentication Library support for Ansys Plugin
Need help regarding Microsoft Authentication Library support for Ansys Plugin.
-
How to create small buttons for ACT Extension
Hi for a long time I'm wondering if it is possible to create small toolbar entries for my ACT extension. I'm able to create only big buttons (Supports), but not the small entries (Fixet, Frictionless, ....) Does some way exist, how to do it? Thanks
-
How to toggle Show/Hide Mesh using ACT?
Toggle Mesh ON/Off
-
How do I export Nastran File from Mechanical to a user defined path?
How do I export Nastran File from Mechanical to a user defined path?
-
How do I get the element types/material types of all the elements a node is shared by using DPF?
How do I get the element types/material types of all the elements a node is shared by using DPF?
-
How to get stress values along a path using DPF considering element orientations defined on body?
Hi guys Would need help understand how to retrieve stress tensor values on a path considering: element orientations the are defined in the associated body, layer, and position . Similar to a user plot defined on a path: I have developed the module to retrieve the nodes on the path and I have a named selection of the…
-
How to call csharp from Ansys plugin(IRON PYHTON) .
Is it possible to call c# from IRON Python plugin. If yes kindly share the details.