Rohan Sharma
Subscriber

Hey there,

To assign materials to parts in Workbench Mechanical using APDL commands, you can indeed use theĀ MATID command under the geometry. Here's an example command:

! Assuming your material ID is 1 and part number is 2
MP, EX, 1, 2, Youngs_Modulus, Poissons_Ratio

ReplaceĀ Youngs_Modulus and Poissons_Ratio with the appropriate numerical values for your material. This command sets the material properties (Young's Modulus and Poisson's Ratio) for material ID 1 assigned to part 2.

Remember to replace the placeholder values with your specific material properties and devops course part numbers.

Hope this helps!