How to fetch APDL element type based on Element Id?
Ayush Kumar
Member, Moderator, Employee Posts: 467
✭✭✭✭
in Structures
Comments
-
import mech_dpf import Ans.DataProcessing as dpf mech_dpf.setExtAPI(ExtAPI) analysis = Model.Analyses[0] ds = dpf.DataSources(analysis.ResultFileName) model = dpf.Model(ds) mesh = model.Mesh eid = 1 e_prop = mesh.GetPropertyField("apdl_element_type") e_type = e_prop.GetEntityDataById(eid) print(e_type[0])
0