Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
how to get materials from the part(all component part) here i use 'ProMaterialCurrentGet' (Part is input). for finding the Materials Which API call i should Add?.
Solved! Go to Solution.
You will need to get the current model using ProMdlCurrentGet and pass that handle. You question is quite vague, you dont specify what you want to do with material.
You will need to get the current model using ProMdlCurrentGet and pass that handle. You question is quite vague, you dont specify what you want to do with material.
Hi Sir Thanks For Your Reply.
I need Part material details.
1st i get current model.(ProMdlCurrentGet )
2nd i visit model components so i use (ProSolidDispCompVisit).
3rd i get asm component path (ProAsmcomppathMdlGet).
4th i get model name.
So now I need Material details, in the main model I Assigned Material for Each Component parts. Now i want to read what material i have Assigned.
PFA