- #1
mechcrazy
- 7
- 0
I am required to do scripting in ansys workbench...i know python, jscript and APDL can be used for this...now how do we really use them?
jscript can be used with help of sendcommand() in python for geometric modelling...can we use APDL in python?
In Mechanical(formerly simulation) can we use APDL?
We can record journal in workbench but it only give the details of operation performed...
e.g.
journal will show
# encoding: utf-8
SetScriptVersion(Version="13.0")
template1 = GetTemplate(
TemplateName="Static Structural",
Solver="ANSYS")
system1 = template1.CreateSystem()
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.Edit()
geometry1.Exit()
but what really happens in "geometry1.Edit()"?
jscript can be used with help of sendcommand() in python for geometric modelling...can we use APDL in python?
In Mechanical(formerly simulation) can we use APDL?
We can record journal in workbench but it only give the details of operation performed...
e.g.
journal will show
# encoding: utf-8
SetScriptVersion(Version="13.0")
template1 = GetTemplate(
TemplateName="Static Structural",
Solver="ANSYS")
system1 = template1.CreateSystem()
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.Edit()
geometry1.Exit()
but what really happens in "geometry1.Edit()"?