Goal: Get the GeoData (graphics window) body corresponding to a tree object of a body in Mechanical.
Code:
treeBody = ExtAPI.DataModel.Project.Model.Geometry.Children[0].Children[0] geoBody = treeBody.GetGeoBody()
Release 18.2 - © ANSYS, Inc. All rights reserved.