Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Material propeties

stomata

New member
Is there any way to modify the material properties with a given material file name without assigning the material to a part?
With my understanding of toolkits' function, I have to assign the material from a file to the part with ProMaterialfileRead. And then get the handler by calling ProModelitemByNameInit. Using ProMaterialPropertyGet/Set to get and set the material Property. Finally rewrite the file with ProMaterialfileWrite
Which I want to do add some property to the material file itself, not only a specified instance of the material in a part...... Anyway to do that?
 
I am a dork for asking this question.... I can just add the line directly to the .mtl file without using all the useless Toolkit APIs........
thanks anyway
smiley2.gif
 

Sponsor

Back
Top