student2022
Mechanical
- Dec 16, 2022
- 1
I am stuck in coding/scripting in ANSYS Workbench. I am trying to print/insert the index of a *do loop. The Python command %i% works in ANSYS APDL but not in Workbench. Any alternative, please
*do,i,1,10,1
*get,stress(%i%),....
*enddo
I expect to get:
stress (1)
stress (2)
stress (3)
.
.
.
stress (10)
*do,i,1,10,1
*get,stress(%i%),....
*enddo
I expect to get:
stress (1)
stress (2)
stress (3)
.
.
.
stress (10)