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.

script to clean .prt files in directory

sully81

New member
I have a large machine assembly that I'm trying to determine the mass and inertia of. The problem that I have is that many of the parts (several hundred) have incorrect values for the material density. Is there a way to write a script to go through the entire folder of parts and find the parts with a density outside a given range and then change the value to one specified?

Any help or direction on this would be much appreciated!!
 
try doing an analysis of the mass properties of the assembly.
It will give you a part by part of the material and densities used for the analysis
 

Sponsor

Articles From 3DCAD World

Back
Top