02-Introduction To IronPython Console Extension
02-Introduction To IronPython Console Extension
Extensions list
Information Window
Functions List
1 2
3 4
5
Select: ExtAPI.Application.LogError to
6 see©how to use
2011 ANSYS, Inc. it December 3, 2012
ExtAPI.SelectionMgr
First, select any geometric entity (example: a face) 2
1
Type: ExtAPI.SelectionMgr. to see
available objects under Application
1 GeoData is our
entry point for
Store the list of Ids under CurrentSelection Geometry related
data access
to a variable (e.g. myIds)
3
4 5
Store the geometric entity as a
variable (e.g. myE)
See what is available under myE
Access the required data
Example: Area, No. of Edges, Body Id,
8 © 2011 ANSYS, Inc. December 3, 2012
Material for the Body,…
ExtAPI.DataModel (2)
Lets get more information on Mesh 2
1
1 2
ResultsData is our
entry point for
Results related data
access
2 3
1: Select