Is it possible with ACT to get the currently selected 'Polyethylene' material from the list of materials?
Hi @Florian Boesl ,
Can you share the end goal, where you will use the script? are you using workbench or Mechanical scripting?
For getting the list of material in workbench you can follow the below script.
sys = GetAllSystems()[1] enggdata = sys.GetContainer(ComponentName="Engineering Data") for mat_ref in enggdata.GetMaterials(): print("Material:", mat_ref.Name)